mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacld-3.0: Do adapter deinit after adapter stop in hdd_wlan_exit
Do adapter deinit in hdd_wlan_exit to free sapConfig.acs_cfg.ch_list. Otherwise there may be memory leak. Change-Id: I523a649e37fc0582c7e913edfa7d89f1eaac76a6 CRs-Fixed: 2136031
This commit is contained in:
parent
b09d513a9a
commit
29c9986f1f
1 changed files with 1 additions and 0 deletions
|
|
@ -6015,6 +6015,7 @@ static void hdd_wlan_exit(struct hdd_context *hdd_ctx)
|
|||
hdd_abort_mac_scan_all_adapters(hdd_ctx);
|
||||
hdd_abort_sched_scan_all_adapters(hdd_ctx);
|
||||
hdd_stop_all_adapters(hdd_ctx, true);
|
||||
hdd_deinit_all_adapters(hdd_ctx, false);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue