diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-02 20:41:39 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-02 20:41:39 +0000 |
commit | 8cfe4bf9cde2ad4b9d422854ca7229c673f9795a (patch) | |
tree | 2baf2ed807b482dfdf041206bf6ee6ee690873c2 /package/mac80211/patches/603-rt2x00-introduce-rt2x00eeprom.patch | |
parent | 7a26eb9f13cd8917ab036f54a6df34934dd61525 (diff) | |
download | upstream-8cfe4bf9cde2ad4b9d422854ca7229c673f9795a.tar.gz upstream-8cfe4bf9cde2ad4b9d422854ca7229c673f9795a.tar.bz2 upstream-8cfe4bf9cde2ad4b9d422854ca7229c673f9795a.zip |
mac80211: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34464
Diffstat (limited to 'package/mac80211/patches/603-rt2x00-introduce-rt2x00eeprom.patch')
-rw-r--r-- | package/mac80211/patches/603-rt2x00-introduce-rt2x00eeprom.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/mac80211/patches/603-rt2x00-introduce-rt2x00eeprom.patch b/package/mac80211/patches/603-rt2x00-introduce-rt2x00eeprom.patch index 4f35ae899f..cb0bc02e8c 100644 --- a/package/mac80211/patches/603-rt2x00-introduce-rt2x00eeprom.patch +++ b/package/mac80211/patches/603-rt2x00-introduce-rt2x00eeprom.patch @@ -186,7 +186,7 @@ obj-$(CONFIG_RT2X00_LIB_PCI) += rt2x00pci.o --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c -@@ -89,20 +89,10 @@ static void rt2800pci_mcu_status(struct +@@ -89,20 +89,10 @@ static void rt2800pci_mcu_status(struct rt2x00pci_register_write(rt2x00dev, H2M_MAILBOX_CID, ~0); } @@ -198,12 +198,12 @@ - memcpy_fromio(rt2x00dev->eeprom, base_addr, EEPROM_SIZE); - - iounmap(base_addr); -+ memcpy(rt2x00dev->eeprom, rt2x00dev->eeprom_file->data, EEPROM_SIZE); - } +-} -#else -static inline void rt2800pci_read_eeprom_soc(struct rt2x00_dev *rt2x00dev) -{ --} ++ memcpy(rt2x00dev->eeprom, rt2x00dev->eeprom_file->data, EEPROM_SIZE); + } -#endif /* CONFIG_RALINK_RT288X || CONFIG_RALINK_RT305X */ #ifdef CONFIG_PCI |