NFC: Fix for HCI network detection issue

The HCI network is not detected anymore after a FW upgrade as the
wrong status is delivered to the calling layer.

The pointer p_msg is only dereferenced in certain cases.
The NULL pointer check should therefore only be issued if
the pointer is actually dereferenced.

Modified the NULL check to check the correct case.

Change-Id: I5e25dc5bfbb8823cde26fe6380cf2e77fae00d2f
CRs-Fixed: 990176
1 file changed
tree: 442af16eb3b2702edca8d6378ba4358d7f49d7c6
  1. halimpl/
  2. p61-jcop-kit/
  3. src/
  4. Android.mk
  5. CleanSpec.mk
  6. MODULE_LICENSE_APACHE2
  7. NOTICE
  8. README.md
README.md

#NFC_NCIHAL_libnfc-nci

####Git Repository

DESCRIPTIONCHECKOUT COMMAND
NFC_NCIHAL_libnfc-ncigit clone https://github.com/NXPNFCProject/NFC_NCIHAL_libnfc-nci.git

####Supported Versions on "master" Branch

Android VersionNXP ReleaseNXP Tag
android-5.0.0_r1/android5.1.0_r13.5.0_L (PN547C2/PN548C2)NFC_NCIHALx_AR0F.3.5.0_L_OpnSrc

####Supported Versions on "br_android_ncihalx_m" Branch

Android VersionNXP ReleaseNXP Tag
android-6.0.0_r14.2.0_M (PN547C2/PN548C2)NFC_NCIHALx_AR0F.4.2.0_M_OpnSrc
android-6.0.0_r14.3.0_M (PN547C2/PN548C2)NFC_NCIHALx_AR0F.4.3.0_M_OpnSrc