diff options
author | Christophe Ricard | 2015-10-25 22:54:21 +0100 |
---|---|---|
committer | Samuel Ortiz | 2015-10-26 06:53:12 +0100 |
commit | d8cd37ed2fc871c66b4c79c59f651dc2cdf7091c (patch) | |
tree | 4fcc84a67e9cc2c259ecf6e3cf34f5ff67e49722 /block/scsi_ioctl.c | |
parent | NFC: nci: Fix incorrect data chaining when sending data (diff) | |
download | kernel-qcow2-linux-d8cd37ed2fc871c66b4c79c59f651dc2cdf7091c.tar.gz kernel-qcow2-linux-d8cd37ed2fc871c66b4c79c59f651dc2cdf7091c.tar.xz kernel-qcow2-linux-d8cd37ed2fc871c66b4c79c59f651dc2cdf7091c.zip |
NFC: nci: Fix improper management of HCI return code
When sending HCI data over NCI, HCI return code is part
of the NCI data. In order to get correctly the HCI return
code, we assume the NCI communication is successful and
extract the return code for the nci_hci functions return code.
This is done because nci_to_errno does not match hci return
code value.
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions