]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth...
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Jul 2013 19:11:50 +0000 (15:11 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Jul 2013 19:11:50 +0000 (15:11 -0400)
Conflicts:
net/bluetooth/hci_core.c

1  2 
drivers/bluetooth/btusb.c
net/bluetooth/hci_core.c

Simple merge
index e3a349977595f2aff6bd27f49e2ee9ee00164470,48e1e0438f3a030b4c09312a9e0db81d808e6072..cc27297da5a9f9094e3079ef43e207dbd9848b68
@@@ -2165,12 -2210,8 +2168,8 @@@ int hci_register_dev(struct hci_dev *hd
  
        BT_DBG("%p name %s bus %d", hdev, hdev->name, hdev->bus);
  
-       write_lock(&hci_dev_list_lock);
-       list_add(&hdev->list, &hci_dev_list);
-       write_unlock(&hci_dev_list_lock);
 -      hdev->workqueue = alloc_workqueue(hdev->name, WQ_HIGHPRI | WQ_UNBOUND |
 -                                        WQ_MEM_RECLAIM, 1);
 +      hdev->workqueue = alloc_workqueue("%s", WQ_HIGHPRI | WQ_UNBOUND |
 +                                        WQ_MEM_RECLAIM, 1, hdev->name);
        if (!hdev->workqueue) {
                error = -ENOMEM;
                goto err;