mpc85xx: correct TP-LINK TL-WDR4900 MAC addresses
[openwrt/openwrt.git] / target / linux / mpc85xx / base-files / etc / board.d / 02_network
index f907fd2edbed753b44f53a5ae07d3843d46c4222..aa33a4af963e7212d6c7eea94ac65c7b030d8c81 100755 (executable)
@@ -21,7 +21,7 @@ ocedo,panda)
 tplink,tl-wdr4900-v1)
        ucidef_add_switch "switch0" \
                "0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan"
-       ucidef_set_interface_macaddr "wan" "$(mtd_get_mac_binary config 0x14c)"
+       ucidef_set_interface_macaddr "wan" "$(macaddr_add $(mtd_get_mac_binary u-boot 0x4fc00) 1)"
        ;;
 *)
        ucidef_set_interfaces_lan_wan "eth0" "eth1"