Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291026
b: refs/heads/master
c: c80da27
h: refs/heads/master
v: v3
  • Loading branch information
Johan Hedberg committed Feb 23, 2012
1 parent 573aa11 commit 6e7fe10
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5fc6ebb102fdf6f589242ebfe3a07d112d60c7d5
refs/heads/master: c80da27e868f6ffbe1c6588937aa4e7aeab21dec
2 changes: 2 additions & 0 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -3400,6 +3400,8 @@ static int clear_eir(struct hci_dev *hdev)
if (!(hdev->features[6] & LMP_EXT_INQ))
return 0;

memset(hdev->eir, 0, sizeof(hdev->eir));

memset(&cp, 0, sizeof(cp));

return hci_send_cmd(hdev, HCI_OP_WRITE_EIR, sizeof(cp), &cp);
Expand Down

0 comments on commit 6e7fe10

Please sign in to comment.