diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 605829b2c63e..88566f2e0a6f 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -492,7 +492,7 @@ static inline void hci_conn_put(struct hci_conn *conn) | |||
492 | { | 492 | { |
493 | if (atomic_dec_and_test(&conn->refcnt)) { | 493 | if (atomic_dec_and_test(&conn->refcnt)) { |
494 | unsigned long timeo; | 494 | unsigned long timeo; |
495 | if (conn->type == ACL_LINK) { | 495 | if (conn->type == ACL_LINK || conn->type == LE_LINK) { |
496 | del_timer(&conn->idle_timer); | 496 | del_timer(&conn->idle_timer); |
497 | if (conn->state == BT_CONNECTED) { | 497 | if (conn->state == BT_CONNECTED) { |
498 | timeo = msecs_to_jiffies(conn->disc_timeout); | 498 | timeo = msecs_to_jiffies(conn->disc_timeout); |