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
This commit is contained in:
Chris Guo
2016-11-10 14:28:25 +08:00
committed by qcabuildsw
szülő 748cb5d369
commit c0c95bf033

Fájl megtekintése

@@ -8787,6 +8787,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);
}