lantiq: do not "local" variables outside of a function
[oweals/openwrt.git] / target / linux / lantiq / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index 5f1cb00452a0a133517d37da01206d16616e21cc..3aa5de4d609847472f20c89ec815308ecf61f630 100644 (file)
@@ -33,9 +33,9 @@ rt2x00_eeprom_extract() {
 
 case "$FIRMWARE" in
 "RT2860.eeprom" )
-       local board=$(lantiq_board_name)
+       board=$(lantiq_board_name)
        case $board in
-       ARV7510PW22|ARV7519PW|ARV752DPW|ARV752DPW22|VGV7519)
+       ARV7506PW11|ARV7510PW22|ARV7519PW|ARV752DPW|ARV752DPW22|VGV7519)
                rt2x00_eeprom_extract "board_config" 520 256 1
                ;;
        ARV7525PW)
@@ -47,7 +47,7 @@ case "$FIRMWARE" in
        esac
        ;;
 "RT3062.eeprom" )
-       local board=$(lantiq_board_name)
+       board=$(lantiq_board_name)
        case $board in
        VGV7510KW22)
                rt2x00_eeprom_extract "board_config" 520 256 1