mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
NFC: digital: Abort cmd when deactivating target
When deactivating an active target, the outstanding command should be aborted. Signed-off-by: Mark Greer <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
4b519bb493
commit
72ad533acc
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue