NFC: llcp: Clean local timers and works when removing a device
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 21 Feb 2013 14:40:04 +0000 (15:40 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 8 Mar 2013 13:25:04 +0000 (14:25 +0100)
Whenever an adapter is removed we must clean all the local structures,
especially the timers and scheduled work. Otherwise those asynchronous
threads will eventually try to access the freed nfc_dev pointer if an LLCP
link is up.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found