wlan: Added FATAL prints
Added Fatal prints so that if issue is reproduced we can know it from
the logs.
Change-Id: I3874a29c9ce5b7ac81aadbfd1fef2e6b22034bd0
CR-Fixed: 423337
diff --git a/CORE/HDD/src/wlan_hdd_p2p.c b/CORE/HDD/src/wlan_hdd_p2p.c
index 51a59ff..2386625 100644
--- a/CORE/HDD/src/wlan_hdd_p2p.c
+++ b/CORE/HDD/src/wlan_hdd_p2p.c
@@ -1230,8 +1230,11 @@
/* Under assumtion that we don't receive any action frame
* with BCST as destination we dropping action frame
*/
- VOS_ASSERT(0);
- hddLog( LOGP, FL("pAdapter for action frame is NULL"));
+ hddLog(VOS_TRACE_LEVEL_FATAL,"pAdapter for action frame is NULL Macaddr = "
+ MAC_ADDRESS_STR ,
+ MAC_ADDR_ARRAY(&pbFrames[WLAN_HDD_80211_FRM_DA_OFFSET]));
+ hddLog(VOS_TRACE_LEVEL_FATAL, "%s: Frame Type = %d Frame Length = %d"
+ " subType = %d \n",__func__,frameType,nFrameLength,subType);
return;
}
}