lantiq: do not "local" variables outside of a function
[openwrt/staging/rmilecki.git] / target / linux / lantiq / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index da10797381557ed89a00b93dfdb90e6625e4c68e..3aa5de4d609847472f20c89ec815308ecf61f630 100644 (file)
@@ -33,7 +33,7 @@ rt2x00_eeprom_extract() {
 
 case "$FIRMWARE" in
 "RT2860.eeprom" )
-       local board=$(lantiq_board_name)
+       board=$(lantiq_board_name)
        case $board in
        ARV7506PW11|ARV7510PW22|ARV7519PW|ARV752DPW|ARV752DPW22|VGV7519)
                rt2x00_eeprom_extract "board_config" 520 256 1
@@ -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