ramips: do not "local" variables outside of a function
[openwrt/staging/rmilecki.git] / target / linux / ramips / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index 0e02177f7023d9e6779c6d57344fcd5bdd2f92f6..4c8beac066a60fcf381c0dd594d14d68553814a6 100644 (file)
@@ -58,7 +58,7 @@ case "$FIRMWARE" in
                rt2x00_eeprom_extract "factory" 32768 512
                ;;
        tiny-ac)
-               local wifi_mac=$(mtd_get_mac_ascii u-boot-env INIC_MAC_ADDR)
+               wifi_mac=$(mtd_get_mac_ascii u-boot-env INIC_MAC_ADDR)
                rt2x00_eeprom_extract "factory" 0 512
                rt2x00_eeprom_set_macaddr $wifi_mac
                ;;