mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Change logging in wma_chan_phy_mode to ratelimit
Currently logs for invalid channel width are set as error logs, if invalid channel width is passed to this api very frequently, error logs are getting flooded. To address this issue make the logs as rate limit. Change-Id: I493002b63ab72438cce2b61c858a32acf12ea6b6 CRs-Fixed: 2607361
This commit is contained in:
parent
1477979df9
commit
bf3742bb12
1 changed files with 1 additions and 1 deletions
|
|
@ -542,7 +542,7 @@ enum wlan_phymode wma_chan_phy_mode(uint32_t freq, enum phy_ch_width chan_width,
|
|||
}
|
||||
|
||||
if (chan_width >= CH_WIDTH_INVALID) {
|
||||
WMA_LOGE("%s : Invalid channel width", __func__);
|
||||
wma_err_rl("%s : Invalid channel width", __func__);
|
||||
return WLAN_PHYMODE_AUTO;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue