diff options
-rw-r--r-- | src/phHal4Nfc_ADD.c | 2 | ||||
-rw-r--r-- | src/phHciNfc_NfcIPMgmt.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/phHal4Nfc_ADD.c b/src/phHal4Nfc_ADD.c index 9fef2db..0be1670 100644 --- a/src/phHal4Nfc_ADD.c +++ b/src/phHal4Nfc_ADD.c @@ -126,7 +126,7 @@ NFCSTATUS phHal4Nfc_ConfigParameters( in general bytes*/ if(puConfig->nfcIPConfig.generalBytesLength == 0) { - Hal4Ctxt->uConfig.nfcIPConfig.generalBytesLength = 0x30; + Hal4Ctxt->uConfig.nfcIPConfig.generalBytesLength = 0x00; (void)memset(Hal4Ctxt->uConfig.nfcIPConfig.generalBytes, 0,Hal4Ctxt->uConfig.nfcIPConfig.generalBytesLength ); diff --git a/src/phHciNfc_NfcIPMgmt.c b/src/phHciNfc_NfcIPMgmt.c index 5ead31f..06ef2a8 100644 --- a/src/phHciNfc_NfcIPMgmt.c +++ b/src/phHciNfc_NfcIPMgmt.c @@ -1760,7 +1760,6 @@ phHciNfc_NfcIP_SetATRInfo( NFCSTATUS status = NFCSTATUS_SUCCESS; if( (NULL == psHciContext) || (NULL == pHwRef) || (NULL == atr_info) || - (atr_info->generalBytesLength == 0) || (atr_info->generalBytesLength > NFCIP_ATR_MAX_LENGTH)) { status = PHNFCSTVAL(CID_NFC_HCI, NFCSTATUS_INVALID_PARAMETER); |