diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-10-26 00:54:21 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-10-26 08:53:12 +0300 |
commit | d8cd37ed2fc871c66b4c79c59f651dc2cdf7091c (patch) | |
tree | 4fcc84a67e9cc2c259ecf6e3cf34f5ff67e49722 /security | |
parent | 500c4ef02277eaadbfe20537f963b6221f6ac007 (diff) | |
download | linux-d8cd37ed2fc871c66b4c79c59f651dc2cdf7091c.tar.xz |
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 'security')
0 files changed, 0 insertions, 0 deletions