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:
bings
2017-11-01 13:54:13 +08:00
committed by snandini
orang tua b09d513a9a
melakukan 29c9986f1f

Melihat File

@@ -6015,6 +6015,7 @@ static void hdd_wlan_exit(struct hdd_context *hdd_ctx)
hdd_abort_mac_scan_all_adapters(hdd_ctx); hdd_abort_mac_scan_all_adapters(hdd_ctx);
hdd_abort_sched_scan_all_adapters(hdd_ctx); hdd_abort_sched_scan_all_adapters(hdd_ctx);
hdd_stop_all_adapters(hdd_ctx, true); hdd_stop_all_adapters(hdd_ctx, true);
hdd_deinit_all_adapters(hdd_ctx, false);
} }
/* /*