ipq40xx: fix ipq40xx_setup_macs for Linksys EA6350v3
[openwrt/openwrt.git] / target / linux / ipq40xx / base-files / etc / board.d / 02_network
index dffccd9..43be592 100755 (executable)
@@ -65,7 +65,7 @@ ipq40xx_setup_macs()
                ;;
        linksys,ea6350v3)
                wan_mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)
-               lan_mac=$(macaddr_add $(wan_mac) +1)
+               lan_mac=$(macaddr_add "$wan_mac" 1)
                ;;
        esac