summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-04-27 15:16:43 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-27 15:16:43 -0400
commit4dcc0637fc3c36c1f58ffdcaf2dc0dc7de72449f (patch)
tree587ffa9493e4b6af014f9acb2c09177c2c54af3b /net/bluetooth/hci_event.c
parentafa762f6871a8cb05fbef5d0f83fac14304aa816 (diff)
parent985140369be1e886754d8ac0375dd64e4f727311 (diff)
downloadop-kernel-dev-4dcc0637fc3c36c1f58ffdcaf2dc0dc7de72449f.zip
op-kernel-dev-4dcc0637fc3c36c1f58ffdcaf2dc0dc7de72449f.tar.gz
Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index b375310..6c06525 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -1901,6 +1901,8 @@ static inline void hci_disconn_complete_evt(struct hci_dev *hdev, struct sk_buff
}
if (ev->status == 0) {
+ if (conn->type == ACL_LINK && conn->flush_key)
+ hci_remove_link_key(hdev, &conn->dst);
hci_proto_disconn_cfm(conn, ev->reason);
hci_conn_del(conn);
}
@@ -2311,6 +2313,7 @@ static inline void hci_cmd_complete_evt(struct hci_dev *hdev, struct sk_buff *sk
case HCI_OP_USER_PASSKEY_NEG_REPLY:
hci_cc_user_passkey_neg_reply(hdev, skb);
+ break;
case HCI_OP_LE_SET_SCAN_PARAM:
hci_cc_le_set_scan_param(hdev, skb);
OpenPOWER on IntegriCloud