aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r--net/bluetooth/hci_conn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c
index faff6247ac8f..4ecc9d5fce7a 100644
--- a/net/bluetooth/hci_conn.c
+++ b/net/bluetooth/hci_conn.c
@@ -595,6 +595,7 @@ void hci_le_conn_failed(struct hci_conn *conn, u8 status)
595 conn->dst_type); 595 conn->dst_type);
596 if (params && params->conn) { 596 if (params && params->conn) {
597 hci_conn_drop(params->conn); 597 hci_conn_drop(params->conn);
598 hci_conn_put(params->conn);
598 params->conn = NULL; 599 params->conn = NULL;
599 } 600 }
600 601