|
@@ -910,6 +910,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
|
|
|
wiphy_debug(local->hw.wiphy, "Failed to initialize wep: %d\n",
|
|
|
result);
|
|
|
|
|
|
+ ieee80211_led_init(local);
|
|
|
+
|
|
|
rtnl_lock();
|
|
|
|
|
|
result = ieee80211_init_rate_ctrl_alg(local,
|
|
@@ -931,8 +933,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
|
|
|
|
|
|
rtnl_unlock();
|
|
|
|
|
|
- ieee80211_led_init(local);
|
|
|
-
|
|
|
local->network_latency_notifier.notifier_call =
|
|
|
ieee80211_max_network_latency;
|
|
|
result = pm_qos_add_notifier(PM_QOS_NETWORK_LATENCY,
|