diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 562d2984c482..dc50fc3153e5 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -879,10 +879,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
879 | 879 | ||
880 | local->dynamic_ps_forced_timeout = -1; | 880 | local->dynamic_ps_forced_timeout = -1; |
881 | 881 | ||
882 | result = sta_info_start(local); | ||
883 | if (result < 0) | ||
884 | goto fail_sta_info; | ||
885 | |||
886 | result = ieee80211_wep_init(local); | 882 | result = ieee80211_wep_init(local); |
887 | if (result < 0) | 883 | if (result < 0) |
888 | wiphy_debug(local->hw.wiphy, "Failed to initialize wep: %d\n", | 884 | wiphy_debug(local->hw.wiphy, "Failed to initialize wep: %d\n", |
@@ -945,7 +941,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
945 | rtnl_unlock(); | 941 | rtnl_unlock(); |
946 | ieee80211_wep_free(local); | 942 | ieee80211_wep_free(local); |
947 | sta_info_stop(local); | 943 | sta_info_stop(local); |
948 | fail_sta_info: | ||
949 | destroy_workqueue(local->workqueue); | 944 | destroy_workqueue(local->workqueue); |
950 | fail_workqueue: | 945 | fail_workqueue: |
951 | wiphy_unregister(local->hw.wiphy); | 946 | wiphy_unregister(local->hw.wiphy); |