Jelajahi Sumber

qcacld-3.0: Reduce redundant logs during driver initialization

With the latest logging guidelines info logs will be routed to
console there are lot of redundant logs causing the watchdog
bark during driver initialization.

Reduce the loglevel from info to debug so these will be logged via
Loggerapp.

CRs-Fixed: 2040730
Change-Id: I2f073e3ab2fe9c129867cadd54c9f27a6b0e65c8
Arunk Khandavalli 7 tahun lalu
induk
melakukan
ae44d897dd
2 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 1 1
      core/hdd/src/wlan_hdd_oemdata.c
  2. 3 3
      core/hdd/src/wlan_hdd_regulatory.c

+ 1 - 1
core/hdd/src/wlan_hdd_oemdata.c

@@ -432,7 +432,7 @@ void hdd_update_channel_bw_info(struct hdd_context *hdd_ctx,
 		 */
 		phy_mode = MODE_UNKNOWN;
 
-	hdd_info("chan %d dot11_mode %d ch_width %d sec offset %d freq_seg0 %d phy_mode %d",
+	hdd_debug("chan %d dot11_mode %d ch_width %d sec offset %d freq_seg0 %d phy_mode %d",
 		chan, wni_dot11_mode, ch_params.ch_width,
 		ch_params.sec_ch_offset,
 		hdd_chan_info->band_center_freq1, phy_mode);

+ 3 - 3
core/hdd/src/wlan_hdd_regulatory.c

@@ -349,19 +349,19 @@ static void hdd_modify_wiphy(struct wiphy  *wiphy,
 			chan->flags &= ~IEEE80211_CHAN_DISABLED;
 
 			if (!(reg_rule->flags & NL80211_RRF_DFS)) {
-				hdd_info("Remove dfs restriction for %u",
+				hdd_debug("Remove dfs restriction for %u",
 					chan->center_freq);
 				chan->flags &= ~IEEE80211_CHAN_RADAR;
 			}
 
 			if (!(reg_rule->flags & NL80211_RRF_PASSIVE_SCAN)) {
-				hdd_info("Remove passive restriction for %u",
+				hdd_debug("Remove passive restriction for %u",
 					chan->center_freq);
 				chan->flags &= ~IEEE80211_CHAN_PASSIVE_SCAN;
 			}
 
 			if (!(reg_rule->flags & NL80211_RRF_NO_IBSS)) {
-				hdd_info("Remove no ibss restriction for %u",
+				hdd_debug("Remove no ibss restriction for %u",
 					chan->center_freq);
 				chan->flags &= ~IEEE80211_CHAN_NO_IBSS;
 			}