mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 04:12:08 -05:00
qcacld-3.0: Rate limit logs in hdd_check_wext_control()
During performance testing system stability issues were observed which were attributed to excess logging in hdd_check_wext_control(). In order to avoid such issue, rate limit those messages. Change-Id: Ia0fa6f8a3fd7150ab3b8f2417bdb5087241c51e3 CRs-Fixed: 2332711
This commit is contained in:
parent
5e70013327
commit
b135c66521
1 changed files with 2 additions and 2 deletions
|
|
@ -2952,10 +2952,10 @@ static int hdd_check_wext_control(enum hdd_wext_control wext_control,
|
|||
switch (wext_control) {
|
||||
default:
|
||||
case hdd_wext_disabled:
|
||||
hdd_err("Rejecting disabled ioctl %x", info->cmd);
|
||||
hdd_err_rl("Rejecting disabled ioctl %x", info->cmd);
|
||||
return -ENOTSUPP;
|
||||
case hdd_wext_deprecated:
|
||||
hdd_warn("Using deprecated ioctl %x", info->cmd);
|
||||
hdd_warn_rl("Using deprecated ioctl %x", info->cmd);
|
||||
return 0;
|
||||
case hdd_wext_enabled:
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue