mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "qcacld-3.0: kernel printing warning logs" into wlan-cld3.driver.lnx.2.0
This commit is contained in:
commit
87b435e9ea
1 changed files with 5 additions and 2 deletions
|
|
@ -9822,9 +9822,12 @@ void hdd_dp_trace_init(struct hdd_config *config)
|
|||
|
||||
/* calculating, num bw timer intervals in a second (1000ms) */
|
||||
bw_compute_interval = GET_BW_COMPUTE_INTV(config);
|
||||
if (bw_compute_interval)
|
||||
if (bw_compute_interval <= 1000 && bw_compute_interval > 0)
|
||||
thresh_time_limit = 1000 / bw_compute_interval;
|
||||
else
|
||||
else if (bw_compute_interval > 1000) {
|
||||
hdd_err("busBandwidthComputeInterval > 1000, using 1000");
|
||||
thresh_time_limit = 1;
|
||||
} else
|
||||
hdd_err("busBandwidthComputeInterval is 0, using defaults");
|
||||
|
||||
switch (num_entries) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue