ソースを参照

qcacmn: Change print level to avoid flooding of prints

Change print level from scm_err to scm_debug_rl to avoid
flooding of prints.

Change-Id: Iae82e8aa55b765860f994757fb035ddcb4342edf
CRs-Fixed: 3225542
Aakanksha Doda 3 年 前
コミット
6be39668f5
1 ファイル変更3 行追加2 行削除
  1. 3 2
      umac/scan/dispatcher/src/wlan_scan_utils_api.c

+ 3 - 2
umac/scan/dispatcher/src/wlan_scan_utils_api.c

@@ -734,8 +734,9 @@ util_scan_parse_chan_switch_wrapper_ie(struct scan_cache_entry *scan_params,
 			continue;
 		}
 		if (sub_ie_len < sub_ie->ie_len) {
-			scm_err("Incomplete corrupted IE:%x",
-				WLAN_ELEMID_CHAN_SWITCH_WRAP);
+			scm_debug_rl(QDF_MAC_ADDR_FMT": Incomplete corrupted IE:%x",
+				     QDF_MAC_ADDR_REF(scan_params->bssid.bytes),
+				     WLAN_ELEMID_CHAN_SWITCH_WRAP);
 			return QDF_STATUS_E_INVAL;
 		}
 		switch (sub_ie->ie_id) {