From: Felix Fietkau Date: Thu, 9 Feb 2012 14:24:15 +0000 (+0000) Subject: mac80211: merge a LED related locking fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c4e1f452a4453ff54264037c9d79f2feb78ab66b;p=openwrt%2Fstaging%2Frmilecki.git mac80211: merge a LED related locking fix SVN-Revision: 30396 --- diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index b8cd51a09de..d401b54bbdf 100644 --- a/package/mac80211/patches/300-pending_work.patch +++ b/package/mac80211/patches/300-pending_work.patch @@ -264,3 +264,23 @@ return; ref->ops->tx_status(ref->priv, sband, ista, priv_sta, skb); +--- a/net/mac80211/main.c ++++ b/net/mac80211/main.c +@@ -915,6 +915,8 @@ int ieee80211_register_hw(struct ieee802 + 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, +@@ -936,8 +938,6 @@ int ieee80211_register_hw(struct ieee802 + + 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,