aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtl818x/rtl8187.h
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>2009-12-09 11:56:13 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-12-10 16:09:51 -0500
commit49d7590ce494a971311ca55d8aaa6ea9a87b108f (patch)
tree07f508f699fd68220f3c13a63c346da3d7566f08 /drivers/net/wireless/rtl818x/rtl8187.h
parent512414b0bed0d376ac4d5ec1dd6f0b1a3551febc (diff)
rtl8187: add radio led and fix warnings on suspend
Michael Buesch reports that his rtl8187 gives warnings on suspend ("queueing ieee80211 work while going to suspend" warnings), as rtl8187 can call ieee80211_queue_delayed_work after mac80211 is suspended. This change enhances rtl8187 led code so we can avoid queuing work after mac80211 is suspended: now we register a radio led and make additional checks to ensure led is off/on properly as mac80211 wants. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Tested-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8187.h')
-rw-r--r--drivers/net/wireless/rtl818x/rtl8187.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8187.h b/drivers/net/wireless/rtl818x/rtl8187.h
index b1a24de0b7b0..6af0f3f71f3a 100644
--- a/drivers/net/wireless/rtl818x/rtl8187.h
+++ b/drivers/net/wireless/rtl818x/rtl8187.h
@@ -108,6 +108,7 @@ struct rtl8187_priv {
108 struct delayed_work work; 108 struct delayed_work work;
109 struct ieee80211_hw *dev; 109 struct ieee80211_hw *dev;
110#ifdef CONFIG_RTL8187_LEDS 110#ifdef CONFIG_RTL8187_LEDS
111 struct rtl8187_led led_radio;
111 struct rtl8187_led led_tx; 112 struct rtl8187_led led_tx;
112 struct rtl8187_led led_rx; 113 struct rtl8187_led led_rx;
113 struct delayed_work led_on; 114 struct delayed_work led_on;