Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64799
b: refs/heads/master
c: 89f2783
h: refs/heads/master
i:
  64797: 42eeab0
  64795: 3164299
  64791: 9f0b537
  64783: a5fe308
  64767: 05c18eb
v: v3
  • Loading branch information
Marcel Holtmann committed Sep 9, 2007
1 parent 9fcf441 commit 50c212d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c631a67601f116d303cfb98a3d964a150090e38
refs/heads/master: 89f2783ded0a4fc98852cb9552bb27a80cd6a41a
8 changes: 3 additions & 5 deletions trunk/net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ static void hci_init_req(struct hci_dev *hdev, unsigned long opt)
{
struct sk_buff *skb;
__le16 param;
__u8 flt_type;

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

Expand Down Expand Up @@ -233,11 +234,8 @@ static void hci_init_req(struct hci_dev *hdev, unsigned long opt)
/* Optional initialization */

/* Clear Event Filters */
{
struct hci_cp_set_event_flt cp;
cp.flt_type = HCI_FLT_CLEAR_ALL;
hci_send_cmd(hdev, OGF_HOST_CTL, OCF_SET_EVENT_FLT, sizeof(cp), &cp);
}
flt_type = HCI_FLT_CLEAR_ALL;
hci_send_cmd(hdev, OGF_HOST_CTL, OCF_SET_EVENT_FLT, 1, &flt_type);

/* Page timeout ~20 secs */
param = cpu_to_le16(0x8000);
Expand Down

0 comments on commit 50c212d

Please sign in to comment.