Explorar o código

qcacld-3.0: Rate limit system suspend not supported console logging

System suspend can happen very fast(in order of milliseconds) and if system
suspend is disabled by setting gDisableWow=1 in cfg ini file then excessive
console logging from wifi driver can lead to watchdog bark and hence rate
limit the system suspend not supported console logging.

Change-Id: I16a4a7a3d0b64fc404d881469dadb4cab38ef149
CRs-Fixed: 2540524
Rajeev Kumar %!s(int64=5) %!d(string=hai) anos
pai
achega
8ddafdf9c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/hdd/src/wlan_hdd_power.c

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

@@ -1785,7 +1785,7 @@ static int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy,
 		return rc;
 
 	if (hdd_ctx->config->is_wow_disabled) {
-		hdd_err("wow is disabled");
+		hdd_info_rl("wow is disabled");
 		return -EINVAL;
 	}