+1
−1
Loading
Set the error code if "transferred != sizeof(cmd)" instead of returning success. Fixes: dbafc289 ("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>