mac80211: refresh patch
authorFelix Fietkau <nbd@openwrt.org>
Sat, 27 Apr 2013 09:56:14 +0000 (09:56 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 27 Apr 2013 09:56:14 +0000 (09:56 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36466

package/mac80211/patches/605-rt2x00-pci-eeprom.patch

index dd0596fd31f408192cdb8f4bfed5a83551f09d70..4defba681f3a6696b6cacf63e5938e59ef6c90b0 100644 (file)
@@ -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;