Переглянути джерело

qcacld-3.0: revert "close all adapters before module stop"

This reverts I18ceba26bb6aab634da91a14cc6890a7b7bd836f. The issue
resolved by that change is addressed more appropriately by
Iaa1934594d5ffcf3b90dd2ad41bba4eb62f71119.

Change-Id: I9531c2afcf25f9a8a97eb8ec9ee90c4cf3d278a0
CRs-Fixed: 2175578
Dustin Brown 7 роки тому
батько
коміт
d005ad89da
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      core/hdd/src/wlan_hdd_main.c

+ 2 - 2
core/hdd/src/wlan_hdd_main.c

@@ -6357,8 +6357,6 @@ 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);
 
 	hdd_driver_memdump_deinit();
@@ -6383,6 +6381,8 @@ static void hdd_wlan_exit(struct hdd_context *hdd_ctx)
 
 	hdd_request_manager_deinit();
 
+	hdd_close_all_adapters(hdd_ctx, false);
+
 	hdd_ipa_cleanup(hdd_ctx);
 
 	wlansap_global_deinit();