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)
This commit is contained in:
Deepthi Gowri 2016-09-01 15:55:09 +05:30 • committed by qcabuildsw
commit 084c24da74

View file

@ -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;
}