summaryrefslogtreecommitdiffstats
path: root/net/nfc/nci/lib.c
diff options
context:
space:
mode:
authorIlan Elias2011-11-09 11:09:14 +0100
committerJohn W. Linville2011-11-11 18:32:50 +0100
commite8c0dacd9836dc2dcb28d236c9cc3cfaa9965a20 (patch)
treeafc78589cb1a21a25d6ef0e1ad5532451bc47838 /net/nfc/nci/lib.c
parentmac80211/cfg80211: report monitor channel in wireless extensions (diff)
downloadkernel-qcow2-linux-e8c0dacd9836dc2dcb28d236c9cc3cfaa9965a20.tar.gz
kernel-qcow2-linux-e8c0dacd9836dc2dcb28d236c9cc3cfaa9965a20.tar.xz
kernel-qcow2-linux-e8c0dacd9836dc2dcb28d236c9cc3cfaa9965a20.zip
NFC: Update names and structs to NCI spec 1.0 d18
Addition, deletion and modification of NCI constants. Changes in NCI commands, responses and notifications structures. Signed-off-by: Ilan Elias <ilane@ti.com> Acked-by: Lauro Ramos Venancio <lauro.venancio@openbossa.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nfc/nci/lib.c')
-rw-r--r--net/nfc/nci/lib.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/net/nfc/nci/lib.c b/net/nfc/nci/lib.c
index b19dc2fa90e1..e99adcfb1bcf 100644
--- a/net/nfc/nci/lib.c
+++ b/net/nfc/nci/lib.c
@@ -42,12 +42,9 @@ int nci_to_errno(__u8 code)
case NCI_STATUS_REJECTED:
return -EBUSY;
- case NCI_STATUS_MESSAGE_CORRUPTED:
+ case NCI_STATUS_RF_FRAME_CORRUPTED:
return -EBADMSG;
- case NCI_STATUS_BUFFER_FULL:
- return -ENOBUFS;
-
case NCI_STATUS_NOT_INITIALIZED:
return -EHOSTDOWN;
@@ -80,9 +77,6 @@ int nci_to_errno(__u8 code)
case NCI_STATUS_NFCEE_TIMEOUT_ERROR:
return -ETIMEDOUT;
- case NCI_STATUS_RF_LINK_LOSS_ERROR:
- return -ENOLINK;
-
case NCI_STATUS_MAX_ACTIVE_NFCEE_INTERFACES_REACHED:
return -EDQUOT;