mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: close all adapters before module stop
Adapter resources are not being released until after stop modules. This leads to resource leaks on PCIe targets. Move the call to close adapters to before stop modules. Change-Id: I18ceba26bb6aab634da91a14cc6890a7b7bd836f CRs-Fixed: 2162868
This commit is contained in:
parent
75bd4b3310
commit
36e24e273b
1 changed files with 2 additions and 2 deletions
|
|
@ -6242,6 +6242,8 @@ static void hdd_wlan_exit(struct hdd_context *hdd_ctx)
|
|||
|
||||
unregister_netdevice_notifier(&hdd_netdev_notifier);
|
||||
|
||||
hdd_close_all_adapters(hdd_ctx, false);
|
||||
|
||||
hdd_wlan_stop_modules(hdd_ctx, false);
|
||||
|
||||
memdump_deinit();
|
||||
|
|
@ -6268,8 +6270,6 @@ static void hdd_wlan_exit(struct hdd_context *hdd_ctx)
|
|||
hdd_green_ap_deinit(hdd_ctx);
|
||||
hdd_request_manager_deinit();
|
||||
|
||||
hdd_close_all_adapters(hdd_ctx, false);
|
||||
|
||||
hdd_ipa_cleanup(hdd_ctx);
|
||||
|
||||
wlansap_global_deinit();
|
||||
|
|
|
|||
Loading…
Reference in a new issue