summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Guo <kangxu@codeaurora.org>2016-11-10 14:28:25 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-18 16:45:48 -0800
commit52159ad5cf662f97776fef0394199f4c40622bc1 (patch)
tree842f40b3da55bfcfb9f43a0b86c78fd8dcf5eba0
parent60c766ad84159b0910fe997405a095fd7ab74cd6 (diff)
qcacld-3.0: set ipa perf level when stop bus_bw timer
qcacld-2.0 to qcacld-3.0 propagation IPA perf level is updated in bus_bw timer which is triggered periodly. If do not reset the IPA perf level when this timer stopping, the ipa perf level could be remained in a invalid state. Change-Id: Ia817c80176790ac5f2c3e474616163fef2de38b8 CRs-Fixed: 1077401
-rw-r--r--core/hdd/src/wlan_hdd_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c
index 683ae916eee7..ede0ad2da1e5 100644
--- a/core/hdd/src/wlan_hdd_main.c
+++ b/core/hdd/src/wlan_hdd_main.c
@@ -8798,6 +8798,8 @@ void hdd_stop_bus_bw_compute_timer(hdd_adapter_t *adapter)
}
if (can_stop == true) {
+ /* reset the ipa perf level */
+ hdd_ipa_set_perf_level(hdd_ctx, 0, 0);
qdf_mc_timer_stop(&hdd_ctx->bus_bw_timer);
hdd_reset_tcp_delack(hdd_ctx);
}