Bluetooth: Fix cancel_delayed_work_sync usage with locks
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 8 Nov 2011 23:44:22 +0000 (01:44 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 9 Nov 2011 14:33:52 +0000 (12:33 -0200)
The cancel_delayed_work_sync function should not be used if we hold any
locks. Luckily all places where this is the case it is also safe to use
the non-sync version.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>

No differences found