summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/605-rt2x00-pci-eeprom.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-27 09:56:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-04-27 09:56:14 +0000
commitfab1ddff733b47a9d1180b05e8b0a450392eff34 (patch)
treeee8ffe8196ff818a810307497dbe431682bcf633 /package/mac80211/patches/605-rt2x00-pci-eeprom.patch
parentf1497ccf4f57229fe2ae062df876d859eaf913be (diff)
downloadmtk-20170518-fab1ddff733b47a9d1180b05e8b0a450392eff34.zip
mtk-20170518-fab1ddff733b47a9d1180b05e8b0a450392eff34.tar.gz
mtk-20170518-fab1ddff733b47a9d1180b05e8b0a450392eff34.tar.bz2
mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36466
Diffstat (limited to 'package/mac80211/patches/605-rt2x00-pci-eeprom.patch')
-rw-r--r--package/mac80211/patches/605-rt2x00-pci-eeprom.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/605-rt2x00-pci-eeprom.patch b/package/mac80211/patches/605-rt2x00-pci-eeprom.patch
index dd0596f..4defba6 100644
--- a/package/mac80211/patches/605-rt2x00-pci-eeprom.patch
+++ b/package/mac80211/patches/605-rt2x00-pci-eeprom.patch
@@ -8,7 +8,7 @@
+static int rt2800pci_read_eeprom_file(struct rt2x00_dev *rt2x00dev)
{
memcpy(rt2x00dev->eeprom, rt2x00dev->eeprom_file->data, EEPROM_SIZE);
- return -ENOMEM;
+ return 0;
@@ -1099,8 +1099,9 @@ static int rt2800pci_read_eeprom(struct
{
int retval;