Bluetooth: Fix using system-global workqueue when not necessary
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 14 Jan 2013 20:33:52 +0000 (22:33 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 18 Jan 2013 04:58:37 +0000 (02:58 -0200)
commit46818ed514102c8d251d4aff5c99ad3ff6805432
tree7313ef0c4b35ddbc24df00f68194f10ba280f393
parent1920257316615676387794cc5fb838183b3bae7f
Bluetooth: Fix using system-global workqueue when not necessary

There's a per-HCI device workqueue (hdev->workqueue) that should be used
for general per-HCI device work (except hdev->req_workqueue that's for
hci_request() related work). This patch fixes places using the
system-global work queue and makes them use the hdev->workqueue instead.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c