summaryrefslogtreecommitdiffstats
path: root/src/phHal4Nfc_Reader.c
diff options
context:
space:
mode:
authorJan Brands <jan.r.brands@nxp.com>2010-11-27 17:16:31 +0100
committerNick Pelly <npelly@google.com>2010-12-05 13:14:24 -0800
commit1c7419cf7fd8913852433a02a0f16da8912fae6f (patch)
treec26f8aafc5214436107228daa7bfa73d4e2d3412 /src/phHal4Nfc_Reader.c
parentec8032f1a91926792c014c862fd78026c2bf7f8f (diff)
downloadexternal_libnfc-nxp-1c7419cf7fd8913852433a02a0f16da8912fae6f.zip
external_libnfc-nxp-1c7419cf7fd8913852433a02a0f16da8912fae6f.tar.gz
external_libnfc-nxp-1c7419cf7fd8913852433a02a0f16da8912fae6f.tar.bz2
Fix from the Bangalore team for long APDUs
Change-Id: Id251fcd72bcc91a3fd85ac26c15fd609ce9f5e4e
Diffstat (limited to 'src/phHal4Nfc_Reader.c')
-rw-r--r--src/phHal4Nfc_Reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phHal4Nfc_Reader.c b/src/phHal4Nfc_Reader.c
index e7a32f4..d74e5e9 100644
--- a/src/phHal4Nfc_Reader.c
+++ b/src/phHal4Nfc_Reader.c
@@ -639,7 +639,7 @@ NFCSTATUS phHal4Nfc_Transceive(
Hal4Ctxt->psTrcvCtxtInfo->XchangeInfo.params.tag_info.addr
= psTransceiveInfo->addr;
Hal4Ctxt->psTrcvCtxtInfo->XchangeInfo.tx_length
- = (uint8_t)psTransceiveInfo->sSendData.length;
+ = (uint16_t)psTransceiveInfo->sSendData.length;
Hal4Ctxt->psTrcvCtxtInfo->XchangeInfo.tx_buffer
= psTransceiveInfo->sSendData.buffer;
Hal4Ctxt->psTrcvCtxtInfo->psUpperRecvData