From 42abb268dc2d2a7e6c386a4492b39c4df02d537f Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 27 Apr 2013 09:56:14 +0000 Subject: mac80211: refresh patch Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36466 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/605-rt2x00-pci-eeprom.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/mac80211/patches/605-rt2x00-pci-eeprom.patch') 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; -- cgit v1.2.3