mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
qcacld-3.0: Rate limit error log in nan and ndp request handler
Rate limit error log in nan and ndp request handler to avoid excessive console logging. Change-Id: I9e9bb7185a77533b03e8a17d64c17371770b9b52 CRs-Fixed: 2326275
This commit is contained in:
parent
b5ead51ea2
commit
3872a5bcc5
2 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ static int __wlan_hdd_cfg80211_nan_request(struct wiphy *wiphy,
|
|||
return ret_val;
|
||||
|
||||
if (QDF_GLOBAL_FTM_MODE == hdd_get_conparam()) {
|
||||
hdd_err("Command not allowed in FTM mode");
|
||||
hdd_err_rl("Command not allowed in FTM mode");
|
||||
return -EPERM;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -335,7 +335,7 @@ static int __wlan_hdd_cfg80211_process_ndp_cmd(struct wiphy *wiphy,
|
|||
return ret_val;
|
||||
|
||||
if (QDF_GLOBAL_FTM_MODE == hdd_get_conparam()) {
|
||||
hdd_err("Command not allowed in FTM mode");
|
||||
hdd_err_rl("Command not allowed in FTM mode");
|
||||
return -EPERM;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue