ramips: fix MAC address assignment for rt1800, e7350
authorArne Zachlod <arne@nerdkeller.org>
Sun, 13 Nov 2022 12:08:37 +0000 (13:08 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 13 Nov 2022 14:17:49 +0000 (15:17 +0100)
previous commit ffa4b5283b introduced a bug which broke the MAC address
assignment for belkin,rt1800 and linksys,e7350.

Fixes: ffa4b5283b39 ("ramips: add support for Mikrotik LtAP-2HnD")
Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
target/linux/ramips/mt7621/base-files/etc/board.d/02_network

index cef5d55925c806f8fbabfe07dfd8985b67da1f52..c4fe2153acee6dcdc676426198a646f8142385d1 100644 (file)
@@ -219,6 +219,7 @@ ramips_setup_macs()
                lan_mac=$(mtd_get_mac_ascii Config lan_hwaddr)
                wan_mac=$(mtd_get_mac_ascii Config wan_hwaddr)
                label_mac=$lan_mac
+               ;;
        mikrotik,ltap-2hnd)
                label_mac=$(cat "/sys/firmware/mikrotik/hard_config/mac_base")
                lan_mac=$label_mac