summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/605-rt2x00-pci-eeprom.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-27 09:56:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-27 09:56:14 +0000
commit42abb268dc2d2a7e6c386a4492b39c4df02d537f (patch)
treeb6542100d7f5a20299d6a3d8a7b8570a1ba30772 /package/mac80211/patches/605-rt2x00-pci-eeprom.patch
parentf36d71413e230feb394ee2c7796263e78ef35ee9 (diff)
mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36466 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 dd0596fd31..4defba681f 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;