diff options
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r-- | net/bluetooth/hci_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 086e157ebf4..ef0423e62a2 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c | |||
@@ -1452,7 +1452,7 @@ int hci_register_dev(struct hci_dev *hdev) | |||
1452 | 1452 | ||
1453 | sprintf(hdev->name, "hci%d", id); | 1453 | sprintf(hdev->name, "hci%d", id); |
1454 | hdev->id = id; | 1454 | hdev->id = id; |
1455 | list_add(&hdev->list, head); | 1455 | list_add_tail(&hdev->list, head); |
1456 | 1456 | ||
1457 | atomic_set(&hdev->refcnt, 1); | 1457 | atomic_set(&hdev->refcnt, 1); |
1458 | spin_lock_init(&hdev->lock); | 1458 | spin_lock_init(&hdev->lock); |