mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-08-18 02:22:47 -07:00
NFC: digital: Abort cmd when deactivating target
When deactivating an active target, the outstanding command should be aborted. Signed-off-by: Mark Greer <mgreer@animalcreek.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
1 parent
4b519bb493
commit
72ad533acc
1 file changed
+1
@@ -650,6 +650,7 @@ static void digital_deactivate_target(struct nfc_dev *nfc_dev,
|
||||
return;
|
||||
}
|
||||
|
||||
digital_abort_cmd(ddev);
|
||||
ddev->curr_protocol = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user