]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/bluetooth/l2cap.c
[NETNS][IPV6] tcp6 - make socket control per namespace
[linux-2.6-omap-h63xx.git] / net / bluetooth / l2cap.c
index a8811c0a0ceaf436f74002397041765e5757f7a3..34f8bf98bc0529b4d69f7c60ff6f739ed63077a3 100644 (file)
@@ -417,6 +417,9 @@ static void l2cap_conn_del(struct hci_conn *hcon, int err)
                l2cap_sock_kill(sk);
        }
 
+       if (conn->info_state & L2CAP_INFO_FEAT_MASK_REQ_SENT)
+               del_timer_sync(&conn->info_timer);
+
        hcon->l2cap_data = NULL;
        kfree(conn);
 }