Bluetooth: Remove global mutex hci_task_lock
authorUlisses Furquim <ulisses@profusion.mobi>
Tue, 20 Dec 2011 19:10:51 +0000 (17:10 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 21 Dec 2011 04:19:18 +0000 (02:19 -0200)
The hci_task_lock mutex (previously a lock) was supposed to protect the
register/unregister of HCI protocols against RX/TX tasks. This will not
be needed anymore because SCO and L2CAP will always be compiled.

Moreover, with the recent move of RX/TX to workqueues per device the
global hci_task_lock was causing starvation between different HCI
devices.

Signed-off-by: Ulisses Furquim <ulisses@profusion.mobi>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>

No differences found