]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85270e0b4af7f8467e155e56f031d5986059042d
tree78422096c0728f84a43c057bcf6ffa185bd13190
parent75b54631525e70c2b672ee6dd154362b35c7ed55
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>
include/net/nfc/hci.h
include/net/nfc/nfc.h
net/nfc/core.c
net/nfc/hci/core.c
net/nfc/hci/hcp.c