]> 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)
commit61c9409080c84dc85f5673887a2334eb65cafb55
treee29f1e4fc4555eefb5a39dfd1e230afcf28da999
parent26f2231a8c33b385132b6ee6d8e90bb6be88c470
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