Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
This commit is contained in:
@@ -3388,6 +3388,12 @@ static void hci_key_refresh_complete_evt(struct hci_dev *hdev,
|
||||
if (!conn)
|
||||
goto unlock;
|
||||
|
||||
/* For BR/EDR the necessary steps are taken through the
|
||||
* auth_complete event.
|
||||
*/
|
||||
if (conn->type != LE_LINK)
|
||||
goto unlock;
|
||||
|
||||
if (!ev->status)
|
||||
conn->sec_level = conn->pending_sec_level;
|
||||
|
||||
|
Reference in New Issue
Block a user