diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-05-25 17:29:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-05-25 17:29:50 +0000 |
commit | b674689a98cfba7a782bec4283c8a6fe8d1a41c0 (patch) | |
tree | 9e5b5bd0ab2fc36069886cecb6758156758e0d22 /package/mac80211/patches/601-rt2x00-remove-mcu-requests-for-soc.patch | |
parent | 7ca97b03d9e3f8128b0f62680d10a25798076ee9 (diff) | |
download | upstream-b674689a98cfba7a782bec4283c8a6fe8d1a41c0.tar.gz upstream-b674689a98cfba7a782bec4283c8a6fe8d1a41c0.tar.bz2 upstream-b674689a98cfba7a782bec4283c8a6fe8d1a41c0.zip |
mac80211: update to wireless-testing 2010-05-24
SVN-Revision: 21568
Diffstat (limited to 'package/mac80211/patches/601-rt2x00-remove-mcu-requests-for-soc.patch')
-rw-r--r-- | package/mac80211/patches/601-rt2x00-remove-mcu-requests-for-soc.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/mac80211/patches/601-rt2x00-remove-mcu-requests-for-soc.patch b/package/mac80211/patches/601-rt2x00-remove-mcu-requests-for-soc.patch new file mode 100644 index 0000000000..e743af3d30 --- /dev/null +++ b/package/mac80211/patches/601-rt2x00-remove-mcu-requests-for-soc.patch @@ -0,0 +1,29 @@ +From f18d4463d092162f34a8bd226505627ceeac3e8a Mon Sep 17 00:00:00 2001 +From: Luis Correia <luis.f.correia@gmail.com> +Date: Sat, 3 Apr 2010 12:49:53 +0100 +Subject: [PATCH] rt2x00: remove MCU requests for SoC platforms + +The ralink SoC platforms do not have an MCU. + +Signed-off-by: Luis Correia <luis.f.correia@gmail.com> +Acked-by: Ivo van Doorn <IvDoorn@gmail.com> +Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> +--- + drivers/net/wireless/rt2x00/rt2800pci.c | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +--- a/drivers/net/wireless/rt2x00/rt2800pci.c ++++ b/drivers/net/wireless/rt2x00/rt2800pci.c +@@ -66,6 +66,12 @@ static void rt2800pci_mcu_status(struct + if (rt2x00_is_soc(rt2x00dev)) + return; + ++ /* ++ * SOC devices don't support MCU requests. ++ */ ++ if (rt2x00_is_soc(rt2x00dev)) ++ return; ++ + for (i = 0; i < 200; i++) { + rt2800_register_read(rt2x00dev, H2M_MAILBOX_CID, ®); + |