Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291043
b: refs/heads/master
c: 7770c4a
h: refs/heads/master
i:
  291041: f8a8e4e
  291039: 07968f4
v: v3
  • Loading branch information
Johan Hedberg committed Feb 23, 2012
1 parent 711baab commit 6a577b9
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 8ec37034ef36b89cfb060bd9273db24e6acb1b3a
refs/heads/master: 7770c4aacaf34fb69cb2acfb7469e9b4e34f1674
6 changes: 6 additions & 0 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,9 @@ static int update_eir(struct hci_dev *hdev)
{
struct hci_cp_write_eir cp;

if (!test_bit(HCI_UP, &hdev->flags))
return 0;

if (!(hdev->features[6] & LMP_EXT_INQ))
return 0;

Expand Down Expand Up @@ -570,6 +573,9 @@ static int update_class(struct hci_dev *hdev)

BT_DBG("%s", hdev->name);

if (!test_bit(HCI_UP, &hdev->flags))
return 0;

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

Expand Down

0 comments on commit 6a577b9

Please sign in to comment.