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
This commit is contained in:
Alok Kumar 2020-07-24 11:55:57 +05:30 • committed by snandini
commit 6352dafbf6

View file

@ -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 */