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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user