Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/openwrt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Zachlod <arne@nerdkeller.org>2022-11-13 15:08:37 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-13 17:17:49 +0300
commit364550f9d922c142af11ef3eeff11e309e3beef5 (patch)
tree4377166dae5dce0b573156ca6dde2b5bf23340e4
parentb97e5ac785960c13199239dd4821dd53f3801da3 (diff)
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>
-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