mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
nfc: pn533: Fix error code in pn533_acr122_poweron_rdr()
[ Upstream commit885bebac99] Set the error code if "transferred != sizeof(cmd)" instead of returning success. Fixes:dbafc28955("NFC: pn533: don't send USB data off of the stack") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://patch.msgid.link/aTfIJ9tZPmeUF4W1@stanley.mountain Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
43d9a530c8
commit
c59137e131
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue