Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[firefly-linux-kernel-4.4.55.git] / net / bluetooth / l2cap.c
index a8811c0a0ceaf436f74002397041765e5757f7a3..7c5459c8e8efdf9e7e9e51d485c9f9ff99eb20f9 100644 (file)
@@ -417,6 +417,8 @@ static void l2cap_conn_del(struct hci_conn *hcon, int err)
                l2cap_sock_kill(sk);
        }
 
+       del_timer_sync(&conn->info_timer);
+
        hcon->l2cap_data = NULL;
        kfree(conn);
 }