commit | 3536da06db0baa675f32de608c0a4c0f5ef0e9ff | [log] [tgz] |
---|---|---|
author | Samuel Ortiz <sameo@linux.intel.com> | Thu Feb 21 15:40:04 2013 +0100 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Fri Mar 08 14:25:04 2013 +0100 |
tree | 584815bbafbb526300b00671d226744f0e411e2b | |
parent | b141e811a0763bb107af4cd99d456193ccdb8053 [diff] |
NFC: llcp: Clean local timers and works when removing a device 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>