]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea46bc88250208361d92c3dcc8154025deda8eca
tree2c0d08d8c47647182c4788c0742043b78e5d45c6
parentdd21ac91bf145c568484db9f25d1fdae85111524
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