aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bluetooth/hci_event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 1778b18ffd97..054b1ad74496 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -1648,6 +1648,8 @@ static void hci_cs_le_create_conn(struct hci_dev *hdev, __u8 status)
1648 if (status) { 1648 if (status) {
1649 if (conn && conn->state == BT_CONNECT) { 1649 if (conn && conn->state == BT_CONNECT) {
1650 conn->state = BT_CLOSED; 1650 conn->state = BT_CLOSED;
1651 mgmt_connect_failed(hdev, &cp->peer_addr, conn->type,
1652 conn->dst_type, status);
1651 hci_proto_connect_cfm(conn, status); 1653 hci_proto_connect_cfm(conn, status);
1652 hci_conn_del(conn); 1654 hci_conn_del(conn);
1653 } 1655 }