diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2016-04-30 09:12:43 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2016-05-04 01:33:52 +0200 |
commit | 7cb6ab590d7d203b53284f4f211d4a8a89a125fc (patch) | |
tree | d8b3bb3a4bb41887618be2198cb6224c74829fe5 /drivers/nfc/st21nfca | |
parent | 0209e79d540440962913054fae499ad1892a4f15 (diff) | |
download | op-kernel-dev-7cb6ab590d7d203b53284f4f211d4a8a89a125fc.zip op-kernel-dev-7cb6ab590d7d203b53284f4f211d4a8a89a125fc.tar.gz |
nfc: st21nfca: A APDU_READER_GATE pipe is unexpected on a UICC
An APDU_READER_GATE pipe is not expected on a UICC. Be more
explicit so that an other secure element form factor (SD card)
does not prompt this message.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st21nfca')
-rw-r--r-- | drivers/nfc/st21nfca/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/st21nfca/core.c b/drivers/nfc/st21nfca/core.c index 25ab279..dacb916 100644 --- a/drivers/nfc/st21nfca/core.c +++ b/drivers/nfc/st21nfca/core.c @@ -176,7 +176,7 @@ static int st21nfca_hci_load_session(struct nfc_hci_dev *hdev) */ info = (struct st21nfca_pipe_info *) skb_pipe_info->data; if (info->dst_gate_id == ST21NFCA_APDU_READER_GATE && - info->src_host_id != ST21NFCA_ESE_HOST_ID) { + info->src_host_id == NFC_HCI_UICC_HOST_ID) { pr_err("Unexpected apdu_reader pipe on host %x\n", info->src_host_id); kfree_skb(skb_pipe_info); |