angler-fishThe Vulnerability History Project

NFC: Fixed nfc core and hci unregistration and cleanup

      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>
    
commit f0c9103813b3045bd5b43220b6a78c9908a45d24
+2
+2
+22 -25
+24 -7
+7
expand_less