diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 72a98e8447184dda0c999c70073bc1e7b58c3073..a2ba6e29bd9a372cc55815e47b90d48b1b82ffdc 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c @@ -1069,9 +1069,9 @@ void ieee80211_stop_device(struct ieee80211_local *local) ieee80211_led_radio(local, false); cancel_work_sync(&local->reconfig_filter); - drv_stop(local); flush_workqueue(local->workqueue); + drv_stop(local); } int ieee80211_reconfig(struct ieee80211_local *local)