diff options
author | Luis Correia <luis.f.correia@gmail.com> | 2010-04-03 12:49:53 +0100 |
---|---|---|
committer | Gertjan van Wingerde <gwingerde@gmail.com> | 2010-04-03 16:04:11 +0200 |
commit | f18d4463d092162f34a8bd226505627ceeac3e8a (patch) | |
tree | e8bef0218d06995a820f41e17fd4dbcfb7864af3 /drivers/net/wireless/rt2x00 | |
parent | e3efca0a63b4ac4d8849d37d082a95cf1a75162d (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index ce7e88ecbb0..1df2d44a615 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c @@ -60,6 +60,12 @@ static void rt2800pci_mcu_status(struct rt2x00_dev *rt2x00dev, const u8 token) unsigned int i; u32 reg; + /* + * 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, ®); |