summaryrefslogtreecommitdiffstats
path: root/src/phHciNfc_NfcIPMgmt.c
diff options
context:
space:
mode:
authorJan Brands <jan.r.brands@nxp.com>2010-12-02 01:16:34 +0100
committerNick Pelly <npelly@google.com>2010-12-05 18:36:30 -0800
commit830ba9657bc2cceac78ea5b285a95560e3329eb4 (patch)
tree50a021ad41d851affa274c423b3a6603113b1037 /src/phHciNfc_NfcIPMgmt.c
parenteff5a3da9704a7d49f0990152c84c172630da679 (diff)
downloadexternal_libnfc-nxp-830ba9657bc2cceac78ea5b285a95560e3329eb4.zip
external_libnfc-nxp-830ba9657bc2cceac78ea5b285a95560e3329eb4.tar.gz
external_libnfc-nxp-830ba9657bc2cceac78ea5b285a95560e3329eb4.tar.bz2
Enable setting General Bytes to empty
Change-Id: Id481b30731c1986f9d36f7d9af00be282683b6e1
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);