Bluetooth: move hci_task_lock to mutex
authorGustavo F. Padovan <padovan@profusion.mobi>
Fri, 9 Dec 2011 06:41:30 +0000 (04:41 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Sun, 18 Dec 2011 19:07:56 +0000 (17:07 -0200)
commit67d0dfb5ec781e9fe030e4e61359ee6eed66ff92
treee1172afdb7a534ad8093bf79fe87a42f4c364f80
parenteb403a1b7eea9d736c55f78407dccb42b72757a4
Bluetooth: move hci_task_lock to mutex

Now we can sleep in any path inside Bluetooth core, so mutex can make
sense here.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_core.c