NFC: digital: Set the command pending flag
authorThierry Escande <thierry.escande@collabora.com>
Thu, 16 Jun 2016 18:24:44 +0000 (20:24 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 6 Jul 2016 08:10:34 +0000 (10:10 +0200)
commitaf66df0f53b9120437556d8eb00d70a36e791258
tree2c0d08d8c47647182c4788c0742043b78e5d45c6
parent82e57952869fbbdf09d8f9e7ac284df13741e93d
NFC: digital: Set the command pending flag

There is a flag in the command structure indicating that this command is
pending. It was checked before sending the command to not send the same
command twice but it was actually never set. This is now fixed.

Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/digital_core.c