aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index c396542c2b82..55534244c3a0 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -1019,8 +1019,6 @@ static inline void hci_disconn_complete_evt(struct hci_dev *hdev, struct sk_buff
1019 if (conn) { 1019 if (conn) {
1020 conn->state = BT_CLOSED; 1020 conn->state = BT_CLOSED;
1021 1021
1022 hci_conn_del_sysfs(conn);
1023
1024 hci_proto_disconn_cfm(conn, ev->reason); 1022 hci_proto_disconn_cfm(conn, ev->reason);
1025 hci_conn_del(conn); 1023 hci_conn_del(conn);
1026 } 1024 }