aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-02-15 16:24:37 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-02-15 16:24:37 -0500
commitca994a36f585432458ead9133fcfe05440edbb7b (patch)
treebe05512153a9cd5cbe1f1234bc09fd9cd388ec58 /net/mac80211/main.c
parent12325280dfeba18164f9c47e226a40ab34e23ee7 (diff)
parent2504a6423b9ab4c36df78227055995644de19edb (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Conflicts: net/mac80211/debugfs_sta.c net/mac80211/sta_info.h
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 831a5bd44fd0..2306d7514fff 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -909,6 +909,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
909 wiphy_debug(local->hw.wiphy, "Failed to initialize wep: %d\n", 909 wiphy_debug(local->hw.wiphy, "Failed to initialize wep: %d\n",
910 result); 910 result);
911 911
912 ieee80211_led_init(local);
913
912 rtnl_lock(); 914 rtnl_lock();
913 915
914 result = ieee80211_init_rate_ctrl_alg(local, 916 result = ieee80211_init_rate_ctrl_alg(local,
@@ -930,8 +932,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
930 932
931 rtnl_unlock(); 933 rtnl_unlock();
932 934
933 ieee80211_led_init(local);
934
935 local->network_latency_notifier.notifier_call = 935 local->network_latency_notifier.notifier_call =
936 ieee80211_max_network_latency; 936 ieee80211_max_network_latency;
937 result = pm_qos_add_notifier(PM_QOS_NETWORK_LATENCY, 937 result = pm_qos_add_notifier(PM_QOS_NETWORK_LATENCY,