mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Rate limit suspend not allowed log for test modes
In FTM and monitor test modes cfg80211 suspend op is not allowed. If OS tries to do frequent suspend in FTM or monitor mode it can lead to excessive console logging and hence to avoid excessive console logging and its side effects rate limit the console logging for FTM and monitor test modes. Change-Id: I8d51db21f861f038f0538865f4c0634efd983f8c CRs-Fixed: 2580927
This commit is contained in:
parent
5a015f24b6
commit
eed6e8f848
1 changed files with 2 additions and 2 deletions
|
|
@ -1806,8 +1806,8 @@ static int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy,
|
|||
|
||||
if (QDF_GLOBAL_FTM_MODE == hdd_get_conparam() ||
|
||||
QDF_GLOBAL_MONITOR_MODE == hdd_get_conparam()) {
|
||||
hdd_err("Command not allowed in mode %d",
|
||||
hdd_get_conparam());
|
||||
hdd_err_rl("Command not allowed in mode %d",
|
||||
hdd_get_conparam());
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue