diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-03-25 09:13:18 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-25 16:42:00 -0400 |
commit | 3a643d244f09fa1fdd25d48a56a073c1a69583ee (patch) | |
tree | 3cd8423f72f37d66fdd2738409f72779da3911fc /drivers/net/wireless/rt2x00/Kconfig | |
parent | 866a05038481d77cac6fc0186250b4c44e691b42 (diff) |
rt2x00: Fix in_atomic() usage
rt73usb and rt2500usb used in_atomic to determine
if a configuration step should be rescheduled or not.
Since in_atomic() is not a valid method to determine
if sleeping is allowed we should fix the way this is handled
by adding a new flag to rt2x00.
In addition mark LED class support for the drivers broken
since that also uses the broken in_atomic() method but
so far no solution exists to have LED triggers work only
in scheduled context.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/Kconfig')
-rw-r--r-- | drivers/net/wireless/rt2x00/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/Kconfig b/drivers/net/wireless/rt2x00/Kconfig index 4709c11da419..ad1549592c00 100644 --- a/drivers/net/wireless/rt2x00/Kconfig +++ b/drivers/net/wireless/rt2x00/Kconfig | |||
@@ -134,7 +134,7 @@ config RT2500USB | |||
134 | 134 | ||
135 | config RT2500USB_LEDS | 135 | config RT2500USB_LEDS |
136 | bool "RT2500 leds support" | 136 | bool "RT2500 leds support" |
137 | depends on RT2500USB | 137 | depends on RT2500USB && BROKEN |
138 | select RT2X00_LIB_LEDS | 138 | select RT2X00_LIB_LEDS |
139 | ---help--- | 139 | ---help--- |
140 | This adds support for led triggers provided my mac80211. | 140 | This adds support for led triggers provided my mac80211. |
@@ -152,7 +152,7 @@ config RT73USB | |||
152 | 152 | ||
153 | config RT73USB_LEDS | 153 | config RT73USB_LEDS |
154 | bool "RT73 leds support" | 154 | bool "RT73 leds support" |
155 | depends on RT73USB | 155 | depends on RT73USB && BROKEN |
156 | select RT2X00_LIB_LEDS | 156 | select RT2X00_LIB_LEDS |
157 | ---help--- | 157 | ---help--- |
158 | This adds support for led triggers provided my mac80211. | 158 | This adds support for led triggers provided my mac80211. |