From eb6ec172d752137f49bf99eeccfcd900ba06f58c Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Wed, 26 Sep 2018 20:45:36 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_cfg80211.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 9a83a8447182..587b688dcd1c 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/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;