From 6352dafbf6e23263836c1c8a9aafc91484069fd3 Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Fri, 24 Jul 2020 11:55:57 +0530 Subject: [PATCH] qcacld-3.0: Force stop bus bw timer during hdd_wlan_stop_modules Currently, bus bw timer is not stopped if STA disconnection is timed out. Due to this hdd_bus_bandwidth_deinit fails. Force stop the bus bw timer during hdd_wlan_stop_modules to avoid hdd_bus_bandwidth_deinit to fail. Change-Id: Idcdf011383838f1dc061f3e0f32ada97e617a8c9 CRs-Fixed: 2739304 --- core/hdd/src/wlan_hdd_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 6b08ad6adbcd..78758cf4f54f 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -13254,6 +13254,7 @@ int hdd_wlan_stop_modules(struct hdd_context *hdd_ctx, bool ftm_mode) } } + hdd_bus_bw_compute_timer_stop(hdd_ctx); hdd_deregister_policy_manager_callback(hdd_ctx->psoc); /* free user wowl patterns */