diff options
author | Jizhou Liao <jizhou.liao@nxp.com> | 2018-05-14 12:49:31 -0700 |
---|---|---|
committer | Ruchi Kandoi <kandoiruchi@google.com> | 2018-05-14 20:24:13 +0000 |
commit | ffa47aecf04a2545aa640562fc4a4ab52f1d471c (patch) | |
tree | ddd0d10f7d969ae91994bf672ba59becd9e9c466 /halimpl | |
parent | 6cd5592587f3c260cc422689184671f5a320e388 (diff) | |
download | android_hardware_nxp_nfc-ffa47aecf04a2545aa640562fc4a4ab52f1d471c.tar.gz android_hardware_nxp_nfc-ffa47aecf04a2545aa640562fc4a4ab52f1d471c.tar.bz2 android_hardware_nxp_nfc-ffa47aecf04a2545aa640562fc4a4ab52f1d471c.zip |
Firmware version can't be retrieved in PN551
Bug: 79679823
Test: FW Download, NFC Enable, Disable
Change-Id: I774d7043277c64480946a88032633f4f22e0f238
Diffstat (limited to 'halimpl')
-rw-r--r-- | halimpl/utils/NxpNfcCapability.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/halimpl/utils/NxpNfcCapability.cpp b/halimpl/utils/NxpNfcCapability.cpp index de375db..720ed08 100644 --- a/halimpl/utils/NxpNfcCapability.cpp +++ b/halimpl/utils/NxpNfcCapability.cpp @@ -41,7 +41,7 @@ tNFC_chipType capability::getChipType(uint8_t* msg, uint16_t msg_len) { /*CORE_RST_NTF*/ offsetHwVersion = offsetRstHwVersion; offsetFwVersion = offsetRstFwVersion; - } else if (msg[0] == 0x21 && msg[1] == 0x01) { + } else if (msg[0] == 0x40 && msg[1] == 0x01) { /*CORE_INIT_RSP*/ offsetHwVersion = offsetInitHwVersion; offsetFwVersion = offsetInitFwVersion; |