aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorArne Zachlod <arne@nerdkeller.org>2022-11-13 13:08:37 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-13 15:17:49 +0100
commit364550f9d922c142af11ef3eeff11e309e3beef5 (patch)
tree4377166dae5dce0b573156ca6dde2b5bf23340e4 /target/linux/ramips
parentb97e5ac785960c13199239dd4821dd53f3801da3 (diff)
downloadupstream-364550f9d922c142af11ef3eeff11e309e3beef5.tar.gz
upstream-364550f9d922c142af11ef3eeff11e309e3beef5.tar.bz2
upstream-364550f9d922c142af11ef3eeff11e309e3beef5.zip
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@nerdkeller.org>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/board.d/02_network1
1 files changed, 1 insertions, 0 deletions
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