Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306887
b: refs/heads/master
c: 2d8b3a1
h: refs/heads/master
i:
  306885: 396ab14
  306883: d65d205
  306879: 0116536
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed May 9, 2012
1 parent 308e1d0 commit c6cec59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: e47872209d67a3283f88c39729b5bf11860b7b19
refs/heads/master: 2d8b3a11623cf5203bc063927b6fc742625f1ebf
5 changes: 3 additions & 2 deletions trunk/net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1741,8 +1741,6 @@ int hci_register_dev(struct hci_dev *hdev)
struct list_head *head = &hci_dev_list, *p;
int i, id, error;

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

if (!hdev->open || !hdev->close)
return -EINVAL;

Expand All @@ -1762,6 +1760,9 @@ int hci_register_dev(struct hci_dev *hdev)

sprintf(hdev->name, "hci%d", id);
hdev->id = id;

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

list_add_tail(&hdev->list, head);

mutex_init(&hdev->lock);
Expand Down

0 comments on commit c6cec59

Please sign in to comment.