]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac80211/main.c
bridge: fix accidental creation of sysfs directory
[karo-tx-linux.git] / net / mac80211 / main.c
index 562d2984c4826fd39278a1924ae117ea0776afd1..dc50fc3153e53d3e689570036cdea5e079ad9cbb 100644 (file)
@@ -879,10 +879,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
 
        local->dynamic_ps_forced_timeout = -1;
 
-       result = sta_info_start(local);
-       if (result < 0)
-               goto fail_sta_info;
-
        result = ieee80211_wep_init(local);
        if (result < 0)
                wiphy_debug(local->hw.wiphy, "Failed to initialize wep: %d\n",
@@ -945,7 +941,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
        rtnl_unlock();
        ieee80211_wep_free(local);
        sta_info_stop(local);
- fail_sta_info:
        destroy_workqueue(local->workqueue);
  fail_workqueue:
        wiphy_unregister(local->hw.wiphy);