NFC: Fixed nfc core and hci unregistration and cleanup
authorEric Lapuyade <eric.lapuyade@linux.intel.com>
Mon, 26 Nov 2012 17:06:27 +0000 (18:06 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 9 Jan 2013 23:51:48 +0000 (00:51 +0100)
When an adapter is removed, it will unregister itself from hci and/or
nfc core. In order to do that safely, work tasks must first be canceled
and prevented to be scheduled again, before the hci or nfc device can be
destroyed.

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found