diff options
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/hci_event.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 0a4fd642d4b9..477726a63512 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c | |||
@@ -3988,8 +3988,6 @@ static void hci_le_adv_report_evt(struct hci_dev *hdev, struct sk_buff *skb) | |||
3988 | void *ptr = &skb->data[1]; | 3988 | void *ptr = &skb->data[1]; |
3989 | s8 rssi; | 3989 | s8 rssi; |
3990 | 3990 | ||
3991 | hci_dev_lock(hdev); | ||
3992 | |||
3993 | while (num_reports--) { | 3991 | while (num_reports--) { |
3994 | struct hci_ev_le_advertising_info *ev = ptr; | 3992 | struct hci_ev_le_advertising_info *ev = ptr; |
3995 | 3993 | ||
@@ -3999,8 +3997,6 @@ static void hci_le_adv_report_evt(struct hci_dev *hdev, struct sk_buff *skb) | |||
3999 | 3997 | ||
4000 | ptr += sizeof(*ev) + ev->length + 1; | 3998 | ptr += sizeof(*ev) + ev->length + 1; |
4001 | } | 3999 | } |
4002 | |||
4003 | hci_dev_unlock(hdev); | ||
4004 | } | 4000 | } |
4005 | 4001 | ||
4006 | static void hci_le_ltk_request_evt(struct hci_dev *hdev, struct sk_buff *skb) | 4002 | static void hci_le_ltk_request_evt(struct hci_dev *hdev, struct sk_buff *skb) |