linux/net/bluetooth
Ulisses Furquim 17cd3f374b Bluetooth: Remove usage of __cancel_delayed_work()
__cancel_delayed_work() is being used in some paths where we cannot
sleep waiting for the delayed work to finish. However, that function
might return while the timer is running and the work will be queued
again. Replace the calls with safer cancel_delayed_work() version
which spins until the timer handler finishes on other CPUs and
cancels the delayed work.

Signed-off-by: Ulisses Furquim <ulisses@profusion.mobi>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2012-02-13 17:01:30 +02:00
..
bnep Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-01-03 15:16:34 -05:00
cmtp Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
hidp Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
rfcomm Bluetooth: silence lockdep warning 2012-02-13 17:01:29 +02:00
af_bluetooth.c Bluetooth: silence lockdep warning 2012-02-13 17:01:29 +02:00
hci_conn.c Bluetooth: Remove unneeded locking 2012-02-13 17:01:30 +02:00
hci_core.c Bluetooth: Fix 'enable_hs' type 2012-02-13 17:01:25 +02:00
hci_event.c Bluetooth: Add a convenience function to check for SSP enabled 2012-02-13 17:01:29 +02:00
hci_sock.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
hci_sysfs.c Bluetooth: Correctly acquire module ref 2012-02-13 17:01:24 +02:00
Kconfig Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
l2cap_core.c Bluetooth: Remove usage of __cancel_delayed_work() 2012-02-13 17:01:30 +02:00
l2cap_sock.c Bluetooth: Add alloc_skb chan operator 2012-02-13 17:01:29 +02:00
lib.c Bluetooth: Add bt_printk 2011-06-30 19:17:12 -03:00
Makefile Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
mgmt.c Bluetooth: Convert hdev->ssp_mode to a flag 2012-02-13 17:01:29 +02:00
sco.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
smp.c Bluetooth: Rename conn->pend to conn->flags 2012-02-13 17:01:28 +02:00