summaryrefslogtreecommitdiffstats
path: root/halimpl
diff options
context:
space:
mode:
authorJizhou Liao <jizhou.liao@nxp.com>2018-05-14 12:49:31 -0700
committerRuchi Kandoi <kandoiruchi@google.com>2018-05-15 22:18:39 +0000
commite5c26a2869c7c522846dfd576ea995071e1f18c9 (patch)
treee5f973ae9415f71f67503e94f0791e560bfde40f /halimpl
parentaf6caa669b871bd44f372ceaf73e369da3088171 (diff)
downloadandroid_hardware_nxp_nfc-e5c26a2869c7c522846dfd576ea995071e1f18c9.tar.gz
android_hardware_nxp_nfc-e5c26a2869c7c522846dfd576ea995071e1f18c9.tar.bz2
android_hardware_nxp_nfc-e5c26a2869c7c522846dfd576ea995071e1f18c9.zip
Firmware version can't be retrieved in PN551
Bug: 77936959 Bug: 79679823 Test: FW Download, NFC Enable, Disable Change-Id: I774d7043277c64480946a88032633f4f22e0f238 (cherry picked from commit ffa47aecf04a2545aa640562fc4a4ab52f1d471c)
Diffstat (limited to 'halimpl')
-rw-r--r--halimpl/utils/NxpNfcCapability.cpp2
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;