diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-10-25 22:54:21 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-10-26 06:53:12 +0100 |
commit | d8cd37ed2fc871c66b4c79c59f651dc2cdf7091c (patch) | |
tree | 4fcc84a67e9cc2c259ecf6e3cf34f5ff67e49722 /arch/um/kernel | |
parent | 500c4ef02277eaadbfe20537f963b6221f6ac007 (diff) |
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 'arch/um/kernel')
0 files changed, 0 insertions, 0 deletions