summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepthi Gowri <c_gowri@qti.qualcomm.com>2016-05-03 18:53:03 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-05-05 19:46:00 +0530
commitd0b96270ec090a65268e75784176e9517d1dd82f (patch)
treeed774ec035705e2aacb18e07cb4aba6767efcf3d
parent3075ac910c015ce525bf8badd1eb4a277286b28f (diff)
qcacld2.0: Add log to print channel number and frequency
Add error log to print channel number and frequency in wlan_hdd_cfg80211_inform_bss_frame() if it fails to retrieve the channel. CRs-Fixed: 1010559 Change-Id: I8fe77db17ffa40ea07206a3701c02f02564ea8fd
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 3967a606bc8b..454f7f8d9ef3 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -16277,7 +16277,9 @@ wlan_hdd_cfg80211_inform_bss_frame( hdd_adapter_t *pAdapter,
* So drop the bss and continue to next bss.
*/
if (chan == NULL) {
- hddLog(LOGE, FL("chan pointer is NULL"));
+ hddLog(LOGE,
+ FL("chan pointer is NULL, chan_no: %d freq: %d"),
+ chan_no, freq);
kfree(mgmt);
return NULL;
}