Root/
Source at commit 262b52b created 13 years 9 months ago. By nbd, backport the latest version of the mac80211 package to backfire. includes fixes for wpa key handling, throughput issues, etc. | |
---|---|
1 | From f18d4463d092162f34a8bd226505627ceeac3e8a Mon Sep 17 00:00:00 2001 |
2 | From: Luis Correia <luis.f.correia@gmail.com> |
3 | Date: Sat, 3 Apr 2010 12:49:53 +0100 |
4 | Subject: [PATCH] rt2x00: remove MCU requests for SoC platforms |
5 | |
6 | The ralink SoC platforms do not have an MCU. |
7 | |
8 | Signed-off-by: Luis Correia <luis.f.correia@gmail.com> |
9 | Acked-by: Ivo van Doorn <IvDoorn@gmail.com> |
10 | Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> |
11 | --- |
12 | drivers/net/wireless/rt2x00/rt2800pci.c | 6 ++++++ |
13 | 1 files changed, 6 insertions(+), 0 deletions(-) |
14 | |
15 | --- a/drivers/net/wireless/rt2x00/rt2800pci.c |
16 | +++ b/drivers/net/wireless/rt2x00/rt2800pci.c |
17 | @@ -66,6 +66,12 @@ static void rt2800pci_mcu_status(struct |
18 | if (rt2x00_is_soc(rt2x00dev)) |
19 | return; |
20 | |
21 | + /* |
22 | + * SOC devices don't support MCU requests. |
23 | + */ |
24 | + if (rt2x00_is_soc(rt2x00dev)) |
25 | + return; |
26 | + |
27 | for (i = 0; i < 200; i++) { |
28 | rt2800_register_read(rt2x00dev, H2M_MAILBOX_CID, ®); |
29 | |
30 |