diff options
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/hci_conn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index dc331ceca471..25bfce0666eb 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c | |||
@@ -980,6 +980,8 @@ void hci_chan_del(struct hci_chan *chan) | |||
980 | 980 | ||
981 | synchronize_rcu(); | 981 | synchronize_rcu(); |
982 | 982 | ||
983 | hci_conn_put(conn); | ||
984 | |||
983 | skb_queue_purge(&chan->data_q); | 985 | skb_queue_purge(&chan->data_q); |
984 | kfree(chan); | 986 | kfree(chan); |
985 | } | 987 | } |