commit | 60ad07ab6bc86f48b6ebda1788d79ca5f88d824c | [log] [tgz] |
---|---|---|
author | Szymon Janc <szymon.janc@tieto.com> | Thu Oct 25 17:29:45 2012 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue Nov 20 00:09:25 2012 +0100 |
tree | 5a2947353b130138c3258cc135d596414aed667a | |
parent | 16a78e9fed5e8baa8480ae3413f4328c4537c599 [diff] |
NFC: pn533: Fix missing lock while operating on commands list In pn533_wq_cmd command was removed from list without cmd_lock held (race with pn533_send_cmd_frame_async) which could lead to list corruption. Delete command from list before releasing lock. Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>