From: Arne Zachlod Date: Sun, 13 Nov 2022 12:08:37 +0000 (+0100) Subject: ramips: fix MAC address assignment for rt1800, e7350 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=364550f9d922c142af11ef3eeff11e309e3beef5;p=openwrt%2Fstaging%2Faparcar.git ramips: fix MAC address assignment for rt1800, e7350 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 --- diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index cef5d55925..c4fe2153ac 100644 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -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