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:
parent
4b519bb493
commit
72ad533acc
|
@ -650,6 +650,7 @@ static void digital_deactivate_target(struct nfc_dev *nfc_dev,
|
|||
return;
|
||||
}
|
||||
|
||||
digital_abort_cmd(ddev);
|
||||
ddev->curr_protocol = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue