aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r--drivers/net/wireless/b43/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index a8840ef63770..6c0ea214a82e 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -4987,8 +4987,7 @@ static void b43_remove(struct ssb_device *dev)
4987 * might have modified it. Restoring is important, so the networking 4987 * might have modified it. Restoring is important, so the networking
4988 * stack can properly free resources. */ 4988 * stack can properly free resources. */
4989 wl->hw->queues = wl->mac80211_initially_registered_queues; 4989 wl->hw->queues = wl->mac80211_initially_registered_queues;
4990 wl->leds.stop = 1; 4990 b43_leds_stop(wldev);
4991 cancel_work_sync(&wl->leds.work);
4992 ieee80211_unregister_hw(wl->hw); 4991 ieee80211_unregister_hw(wl->hw);
4993 } 4992 }
4994 4993