diff options
Diffstat (limited to 'net/bluetooth/hci_event.c')
| -rw-r--r-- | net/bluetooth/hci_event.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 49774912cb01..15010a230b6d 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c | |||
| @@ -3330,6 +3330,12 @@ static void hci_key_refresh_complete_evt(struct hci_dev *hdev, | |||
| 3330 | if (!conn) | 3330 | if (!conn) |
| 3331 | goto unlock; | 3331 | goto unlock; |
| 3332 | 3332 | ||
| 3333 | /* For BR/EDR the necessary steps are taken through the | ||
| 3334 | * auth_complete event. | ||
| 3335 | */ | ||
| 3336 | if (conn->type != LE_LINK) | ||
| 3337 | goto unlock; | ||
| 3338 | |||
| 3333 | if (!ev->status) | 3339 | if (!ev->status) |
| 3334 | conn->sec_level = conn->pending_sec_level; | 3340 | conn->sec_level = conn->pending_sec_level; |
| 3335 | 3341 | ||
