[openwrt/openwrt] ramips: fix MAC address assignment for rt1800, e7350

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 13 06:41:29 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/364550f9d922c142af11ef3eeff11e309e3beef5

commit 364550f9d922c142af11ef3eeff11e309e3beef5
Author: Arne Zachlod <arne at nerdkeller.org>
AuthorDate: Sun Nov 13 13:08:37 2022 +0100

    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 <arne at nerdkeller.org>
---
 target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 1 +
 1 file changed, 1 insertion(+)

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




More information about the lede-commits mailing list