|
|
@@ -738,8 +738,6 @@ EXPORT_SYMBOL(ath10k_core_create);
|
|
|
|
|
|
void ath10k_core_destroy(struct ath10k *ar)
|
|
|
{
|
|
|
- ath10k_debug_destroy(ar);
|
|
|
-
|
|
|
flush_workqueue(ar->workqueue);
|
|
|
destroy_workqueue(ar->workqueue);
|
|
|
|
|
|
@@ -986,6 +984,8 @@ void ath10k_core_unregister(struct ath10k *ar)
|
|
|
ath10k_mac_unregister(ar);
|
|
|
|
|
|
ath10k_core_free_firmware_files(ar);
|
|
|
+
|
|
|
+ ath10k_debug_destroy(ar);
|
|
|
}
|
|
|
EXPORT_SYMBOL(ath10k_core_unregister);
|
|
|
|