From 084c24da74db8193bf44f333413a4f3a7c8ec8d2 Mon Sep 17 00:00:00 2001 From: Deepthi Gowri Date: Thu, 1 Sep 2016 15:55:09 +0530 Subject: 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) --- core/hdd/src/wlan_hdd_cfg80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3