summaryrefslogtreecommitdiffstats
path: root/src/phHciNfc_NfcIPMgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/phHciNfc_NfcIPMgmt.c')
-rw-r--r--src/phHciNfc_NfcIPMgmt.c1
1 files changed, 0 insertions, 1 deletions
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);