diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-12-16 05:23:45 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-16 05:23:45 -0500 |
commit | c4de673b775e4db48cd2db6277e0c6714332ca0c (patch) | |
tree | 84f9e4728e6ccf257236d2ba063b6e784ec8b65d /net/mac80211/main.c | |
parent | bafdc614a1f4f8be8cde41b8ab10ac17e67c1837 (diff) | |
parent | 55957fb7a0b61d8ab6ff3f04e279b8fc22b738fa (diff) |
Merge remote-tracking branch 'wireless-next/master' into mac80211-next
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 8af75f0eed6d..fa34cd2344b9 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -995,6 +995,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
995 | wiphy_debug(local->hw.wiphy, "Failed to initialize wep: %d\n", | 995 | wiphy_debug(local->hw.wiphy, "Failed to initialize wep: %d\n", |
996 | result); | 996 | result); |
997 | 997 | ||
998 | local->hw.conf.flags = IEEE80211_CONF_IDLE; | ||
999 | |||
998 | ieee80211_led_init(local); | 1000 | ieee80211_led_init(local); |
999 | 1001 | ||
1000 | rtnl_lock(); | 1002 | rtnl_lock(); |
@@ -1102,6 +1104,7 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw) | |||
1102 | 1104 | ||
1103 | cancel_work_sync(&local->restart_work); | 1105 | cancel_work_sync(&local->restart_work); |
1104 | cancel_work_sync(&local->reconfig_filter); | 1106 | cancel_work_sync(&local->reconfig_filter); |
1107 | flush_work(&local->sched_scan_stopped_work); | ||
1105 | 1108 | ||
1106 | ieee80211_clear_tx_pending(local); | 1109 | ieee80211_clear_tx_pending(local); |
1107 | rate_control_deinitialize(local); | 1110 | rate_control_deinitialize(local); |