aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/620-rt2x00_soc_led_support.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-07 18:42:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-04-07 18:42:22 +0000
commit51b4f1df40e96d3dbe446993a74b6b096c07293e (patch)
treefcefd647370191c1eb3998e09276c0e667329a18 /package/mac80211/patches/620-rt2x00_soc_led_support.patch
parent4cdfd936183e2b9b4d6a61273054ec29f023780f (diff)
downloadmaster-187ad058-51b4f1df40e96d3dbe446993a74b6b096c07293e.tar.gz
master-187ad058-51b4f1df40e96d3dbe446993a74b6b096c07293e.tar.bz2
master-187ad058-51b4f1df40e96d3dbe446993a74b6b096c07293e.zip
mac80211: update to wireless-testing 2011-04-06
adds some more pending patches which (among other things) fix the 'failed to stop RX DMA' messages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26506 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/620-rt2x00_soc_led_support.patch')
-rw-r--r--package/mac80211/patches/620-rt2x00_soc_led_support.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/mac80211/patches/620-rt2x00_soc_led_support.patch b/package/mac80211/patches/620-rt2x00_soc_led_support.patch
index 2b87b346d3..ca08ae65a7 100644
--- a/package/mac80211/patches/620-rt2x00_soc_led_support.patch
+++ b/package/mac80211/patches/620-rt2x00_soc_led_support.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
-@@ -935,6 +935,7 @@
+@@ -938,6 +938,7 @@ EXPORT_SYMBOL_GPL(rt2800_rfkill_poll);
static void rt2800_brightness_set(struct led_classdev *led_cdev,
enum led_brightness brightness)
{
@@ -8,10 +8,10 @@
struct rt2x00_led *led =
container_of(led_cdev, struct rt2x00_led, led_dev);
unsigned int enabled = brightness != LED_OFF;
-@@ -947,24 +948,46 @@
+@@ -950,24 +951,46 @@ static void rt2800_brightness_set(struct
rt2x00_get_field16(led->rt2x00dev->led_mcu_reg,
EEPROM_FREQ_LED_MODE);
-
+
- if (led->type == LED_TYPE_RADIO) {
- rt2800_mcu_request(led->rt2x00dev, MCU_LED, 0xff, ledmode,
- enabled ? 0x20 : 0);
@@ -72,4 +72,4 @@
+ }
}
}
-
+