Selaa lähdekoodia

qcacld-3.0: Reduce excessive console logging from chan info cb

wlan_hdd_chan_info_cb is using info log level to log debug
message and its leading to excessive console logging since
info logs are logged on console. Reduce the log level to
avoid excessive console logging.

Change-Id: I79f67aec5c223126a0de74965336048dc7d4a547
CRs-Fixed: 2323586
Rajeev Kumar 6 vuotta sitten
vanhempi
sitoutus
eb6ec172d7
1 muutettua tiedostoa jossa 7 lisäystä ja 6 poistoa
  1. 7 6
      core/hdd/src/wlan_hdd_cfg80211.c

+ 7 - 6
core/hdd/src/wlan_hdd_cfg80211.c

@@ -19588,12 +19588,13 @@ static void wlan_hdd_chan_info_cb(struct scan_chan_info *info)
 		if (chan[idx].freq == info->freq) {
 			hdd_update_chan_info(hdd_ctx, &chan[idx], info,
 				info->cmd_flag);
-			hdd_info("cmd:%d freq:%u nf:%d cc:%u rcc:%u clk:%u cmd:%d tfc:%d index:%d",
-				chan[idx].cmd_flag, chan[idx].freq,
-				chan[idx].noise_floor,
-				chan[idx].cycle_count, chan[idx].rx_clear_count,
-				chan[idx].clock_freq, chan[idx].cmd_flag,
-				chan[idx].tx_frame_count, idx);
+			hdd_debug("cmd:%d freq:%u nf:%d cc:%u rcc:%u clk:%u cmd:%d tfc:%d index:%d",
+				  chan[idx].cmd_flag, chan[idx].freq,
+				  chan[idx].noise_floor,
+				  chan[idx].cycle_count,
+				  chan[idx].rx_clear_count,
+				  chan[idx].clock_freq, chan[idx].cmd_flag,
+				  chan[idx].tx_frame_count, idx);
 			if (chan[idx].freq == 0)
 				break;