Skip to content
Commit 60ad07ab authored by Szymon Janc's avatar Szymon Janc Committed by Samuel Ortiz
Browse files

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: default avatarSzymon Janc <szymon.janc@tieto.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 16a78e9f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment