Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306858
b: refs/heads/master
c: 1519cc1
h: refs/heads/master
v: v3
  • Loading branch information
Andre Guedes authored and Gustavo Padovan committed May 9, 2012
1 parent 00ed401 commit fc02889
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 642be6c768bd686577ffe6ebcc5e6132a932537b
refs/heads/master: 1519cc177a05b96d8715c3cda244c46d6457efbb
9 changes: 9 additions & 0 deletions trunk/net/bluetooth/hci_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1722,6 +1722,9 @@ static inline void hci_inquiry_result_evt(struct hci_dev *hdev, struct sk_buff *
if (!num_rsp)
return;

if (test_bit(HCI_PERIODIC_INQ, &hdev->dev_flags))
return;

hci_dev_lock(hdev);

for (; num_rsp; num_rsp--, info++) {
Expand Down Expand Up @@ -2826,6 +2829,9 @@ static inline void hci_inquiry_result_with_rssi_evt(struct hci_dev *hdev, struct
if (!num_rsp)
return;

if (test_bit(HCI_PERIODIC_INQ, &hdev->dev_flags))
return;

hci_dev_lock(hdev);

if ((skb->len - 1) / num_rsp != sizeof(struct inquiry_info_with_rssi)) {
Expand Down Expand Up @@ -2997,6 +3003,9 @@ static inline void hci_extended_inquiry_result_evt(struct hci_dev *hdev, struct
if (!num_rsp)
return;

if (test_bit(HCI_PERIODIC_INQ, &hdev->dev_flags))
return;

hci_dev_lock(hdev);

for (; num_rsp; num_rsp--, info++) {
Expand Down

0 comments on commit fc02889

Please sign in to comment.