diff options
author | David S. Miller <davem@davemloft.net> | 2010-09-01 15:01:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-01 15:01:05 -0400 |
commit | a3f86ec002774f28b9b3d1d5e5532231e96a0861 (patch) | |
tree | 740ea059803c6e377e930b19bc8e37134e2b5051 /net/mac80211/main.c | |
parent | b963ea89f00f13c648af4082e5efb2172d369727 (diff) | |
parent | 904879748d7439a6dabdc6be9aad983e216b027d (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 798a91b100cc..ded5c3843e06 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -732,6 +732,12 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw) | |||
732 | 732 | ||
733 | rtnl_unlock(); | 733 | rtnl_unlock(); |
734 | 734 | ||
735 | /* | ||
736 | * Now all work items will be gone, but the | ||
737 | * timer might still be armed, so delete it | ||
738 | */ | ||
739 | del_timer_sync(&local->work_timer); | ||
740 | |||
735 | cancel_work_sync(&local->reconfig_filter); | 741 | cancel_work_sync(&local->reconfig_filter); |
736 | 742 | ||
737 | ieee80211_clear_tx_pending(local); | 743 | ieee80211_clear_tx_pending(local); |