diff options
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/hci_event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index f91ba690f5d2..beea9dbb6562 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c | |||
@@ -914,7 +914,8 @@ static inline void hci_conn_complete_evt(struct hci_dev *hdev, struct sk_buff *s | |||
914 | if (ev->status) { | 914 | if (ev->status) { |
915 | hci_proto_connect_cfm(conn, ev->status); | 915 | hci_proto_connect_cfm(conn, ev->status); |
916 | hci_conn_del(conn); | 916 | hci_conn_del(conn); |
917 | } | 917 | } else if (ev->link_type != ACL_LINK) |
918 | hci_proto_connect_cfm(conn, ev->status); | ||
918 | 919 | ||
919 | unlock: | 920 | unlock: |
920 | hci_dev_unlock(hdev); | 921 | hci_dev_unlock(hdev); |