|
@@ -1012,7 +1012,6 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw)
|
|
|
cancel_work_sync(&local->reconfig_filter);
|
|
|
|
|
|
ieee80211_clear_tx_pending(local);
|
|
|
- sta_info_stop(local);
|
|
|
rate_control_deinitialize(local);
|
|
|
|
|
|
if (skb_queue_len(&local->skb_queue) ||
|
|
@@ -1024,6 +1023,7 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw)
|
|
|
|
|
|
destroy_workqueue(local->workqueue);
|
|
|
wiphy_unregister(local->hw.wiphy);
|
|
|
+ sta_info_stop(local);
|
|
|
ieee80211_wep_free(local);
|
|
|
ieee80211_led_exit(local);
|
|
|
kfree(local->int_scan_req);
|