mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Ratelimit logs in ipa_is_fw_wdi_activated
ipa_is_fw_wdi_activated is invoked in the context of default 100ms bus bandwidth calculation timer. Any logs will lead to excessive messages and fix is to ratelimit these possible log messages. Change-Id: I6e408187759bb6b6a5c511f2f88c2b14f4c889ab CRs-Fixed: 2279024
This commit is contained in:
parent
dc198eccdb
commit
7178449356
1 changed files with 2 additions and 2 deletions
|
|
@ -536,13 +536,13 @@ bool ipa_is_fw_wdi_activated(struct wlan_objmgr_pdev *pdev)
|
|||
struct wlan_ipa_priv *ipa_obj;
|
||||
|
||||
if (!ipa_config_is_enabled()) {
|
||||
ipa_debug("ipa is disabled");
|
||||
ipa_debug_rl("ipa is disabled");
|
||||
return false;
|
||||
}
|
||||
|
||||
ipa_obj = ipa_pdev_get_priv_obj(pdev);
|
||||
if (!ipa_obj) {
|
||||
ipa_err("IPA object is NULL");
|
||||
ipa_err_rl("IPA object is NULL");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue