diff options
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index cb36169ef300..2d550afe4322 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -1640,6 +1640,9 @@ static void l2cap_conn_del(struct hci_conn *hcon, int err) | |||
1640 | 1640 | ||
1641 | l2cap_unregister_all_users(conn); | 1641 | l2cap_unregister_all_users(conn); |
1642 | 1642 | ||
1643 | /* Force the connection to be immediately dropped */ | ||
1644 | hcon->disc_timeout = 0; | ||
1645 | |||
1643 | mutex_lock(&conn->chan_lock); | 1646 | mutex_lock(&conn->chan_lock); |
1644 | 1647 | ||
1645 | /* Kill channels */ | 1648 | /* Kill channels */ |