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>
This commit is contained in:

committed by
John W. Linville

parent
e999882a05
commit
e8c0dacd98
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user