aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index b161301056d..5940e69fa33 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -552,11 +552,7 @@ static int ieee80211_stop(struct net_device *dev)
552 ieee80211_recalc_ps(local, -1); 552 ieee80211_recalc_ps(local, -1);
553 553
554 if (local->open_count == 0) { 554 if (local->open_count == 0) {
555 drv_stop(local); 555 ieee80211_stop_device(local);
556
557 ieee80211_led_radio(local, false);
558
559 flush_workqueue(local->workqueue);
560 556
561 tasklet_disable(&local->tx_pending_tasklet); 557 tasklet_disable(&local->tx_pending_tasklet);
562 tasklet_disable(&local->tasklet); 558 tasklet_disable(&local->tasklet);