From 5986a18c16fe7035e1ec5a2474a47d0b13ea9383 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 30 Jun 2013 21:03:48 +0000
Subject: [PATCH] ramips: update wlan firmware hotplug script for new eeprom
 size

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37112
---
 .../etc/hotplug.d/firmware/10-rt2x00-eeprom        | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 810dddfe86..fef89eae0e 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -35,21 +35,21 @@ case "$FIRMWARE" in
 	dir-600-b1 | \
 	dir-600-b2 | \
 	dir-615-d)
-		rt2x00_eeprom_extract "devdata" 16384 272
+		rt2x00_eeprom_extract "devdata" 16384 512
 		;;
 
 	dap-1350)
-		rt2x00_eeprom_extract "devdata" 0 272
+		rt2x00_eeprom_extract "devdata" 0 512
 		;;
 
 	rt-n10-plus | \
 	rt-g32-b1)
-		rt2x00_eeprom_extract "devconf" 0 272
+		rt2x00_eeprom_extract "devconf" 0 512
 		;;
 
 	f5d8235-v1 | \
 	f5d8235-v2)
-		rt2x00_eeprom_extract "u-boot" 262144 272
+		rt2x00_eeprom_extract "u-boot" 262144 512
 		;;
 
 	3g-6200n | \
@@ -105,11 +105,11 @@ case "$FIRMWARE" in
 	ur-326n4g | \
 	ur-336un | \
 	xdxrn502j)
-		rt2x00_eeprom_extract "factory" 0 272
+		rt2x00_eeprom_extract "factory" 0 512
 		;;
 
 	wl341v3)
-		rt2x00_eeprom_extract "board-nvram" 64880 272
+		rt2x00_eeprom_extract "board-nvram" 64880 512
 		;;
 
 	*)
@@ -121,7 +121,7 @@ case "$FIRMWARE" in
 "rt2x00pci_1_0.eeprom")
 	case $board in
 	rt-n56u)
-		rt2x00_eeprom_extract "factory" 32768 272
+		rt2x00_eeprom_extract "factory" 32768 512
 		;;
 	esac
 	;;
-- 
2.30.2