diff options
author | John W. Linville <linville@tuxdriver.com> | 2013-12-06 09:50:45 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-06 09:50:45 -0500 |
commit | e08fd975bf26aa8063cadd245817e042f570472d (patch) | |
tree | 2b2a705710e6374cc037f89bcc7bfc25047485ba /net/mac80211/main.c | |
parent | 251c9ba19143caa5eb5b6ec52c77c70c9d7b3d8f (diff) | |
parent | a59b40b30f3f51bf5c56c15a7dc4da11b424a34b (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Conflicts:
drivers/net/wireless/brcm80211/Kconfig
net/mac80211/util.c
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); |