Commit 72ad533a authored by Mark Greer's avatar Mark Greer Committed by Samuel Ortiz

NFC: digital: Abort cmd when deactivating target

When deactivating an active target, the outstanding command should
be aborted.
Signed-off-by: default avatarMark Greer <mgreer@animalcreek.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 4b519bb4
......@@ -650,6 +650,7 @@ static void digital_deactivate_target(struct nfc_dev *nfc_dev,
return;
}
digital_abort_cmd(ddev);
ddev->curr_protocol = 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment