aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 18fdeca43d98..7c8542627351 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -868,6 +868,12 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw)
868 868
869 rtnl_unlock(); 869 rtnl_unlock();
870 870
871 /*
872 * Now all work items will be gone, but the
873 * timer might still be armed, so delete it
874 */
875 del_timer_sync(&local->work_timer);
876
871 cancel_work_sync(&local->restart_work); 877 cancel_work_sync(&local->restart_work);
872 cancel_work_sync(&local->reconfig_filter); 878 cancel_work_sync(&local->reconfig_filter);
873 879