]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6838d19dfd5b9c93e0ff70e8247e4de560aa54da
tree9963338b8b8f6e3519e6e08e334fca91268e8184
parent5db71d95d0c5fa3854d9f3f05e1f7c38b05e84a5
Bluetooth: Remove global mutex hci_task_lock

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>
net/bluetooth/hci_core.c