summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepthi Gowri <deepthi@codeaurora.org>2016-09-01 15:55:09 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-09-11 17:12:16 -0700
commit084c24da74db8193bf44f333413a4f3a7c8ec8d2 (patch)
treee9cbd1003f53f09321908d44a5b4142be8b6ad4b
parent993ec18d71d158d9408d066dabc02ff50616e30c (diff)
qcacld-3.0: Add log to print channel number and frequency
qcacld-2.0 to qcacld-3.0 propagation 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 (cherry picked from commit c56aea24166cbdcbfe4acc44fc3cb8464ddaabca) (cherry picked from commit 9cd27801a80b2b71959289efd66f99e4ac32e1fc)
-rw-r--r--core/hdd/src/wlan_hdd_cfg80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index 00050e75fe4f..c55348c5235d 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -9920,7 +9920,8 @@ struct cfg80211_bss *wlan_hdd_cfg80211_inform_bss_frame(hdd_adapter_t *pAdapter,
* So drop the bss and continue to next bss.
*/
if (chan == NULL) {
- hdd_err("chan pointer is NULL");
+ hdd_err("chan pointer is NULL, chan_no: %d freq: %d",
+ chan_no, freq);
kfree(mgmt);
return NULL;
}