]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Replace spin_lock by mutex in hci_dev
authorGustavo F. Padovan <padovan@profusion.mobi>
Fri, 17 Jun 2011 16:03:21 +0000 (13:03 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Sun, 18 Dec 2011 19:07:54 +0000 (17:07 -0200)
commit6d22faa70491e399b5952a5b366781fc42f32589
treee29f1e4fc4555eefb5a39dfd1e230afcf28da999
parentaf0d45178b345ad50d3f6fb9cd5bf657ac976ae3
Bluetooth: Replace spin_lock by mutex in hci_dev

Now we run everything in HCI in process context, so it's a better idea use
mutex instead spin_lock. The macro remains hci_dev_lock() (and I got rid
of hci_dev_lock_bh()), of course.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_core.c
net/bluetooth/hci_sock.c
net/bluetooth/hci_sysfs.c
net/bluetooth/hidp/core.c
net/bluetooth/l2cap_core.c
net/bluetooth/mgmt.c
net/bluetooth/sco.c