Browse Source

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)
Deepthi Gowri 8 years ago
parent
commit
084c24da74
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/hdd/src/wlan_hdd_cfg80211.c

+ 2 - 1
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;
 	}