diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-05-01 14:14:05 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-01 14:14:05 -0400 |
commit | 076e7779c07c56c7fa593a28c71ea7432d0c7c95 (patch) | |
tree | 70a4227b5d898c1abf37ed5779b0cd6f29b471bc /net/bluetooth/hci_event.c | |
parent | 116a0fc31c6c9b8fc821be5a96e5bf0b43260131 (diff) | |
parent | 66f2c99af3d6f2d0aa1120884cf1c60613ef61c0 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r-- | net/bluetooth/hci_event.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index b37531094c49..6c065254afc0 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); |