diff options
author | Sebastian Schaper <openwrt@sebastianschaper.net> | 2022-05-27 17:22:52 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2022-05-29 00:00:52 +0200 |
commit | 4bed263af7a13cb4b9401f7ae04f788cfcc234f7 (patch) | |
tree | 6930dd17dcfb9a9a93e62854b7dbace51fc7d89b /target/linux/ath79/generic | |
parent | 275a76e59a37114dce4fdedbadabd73d5558abc8 (diff) | |
download | upstream-4bed263af7a13cb4b9401f7ae04f788cfcc234f7.tar.gz upstream-4bed263af7a13cb4b9401f7ae04f788cfcc234f7.tar.bz2 upstream-4bed263af7a13cb4b9401f7ae04f788cfcc234f7.zip |
ath79: fix label MAC address for D-Link DIR-825B1
The label MAC address for DIR-825 Rev. B1 is the WAN address located
at 0xffb4 in `caldata`, which equals LAN MAC at 0xffa0 incremented by 1.
Signed-off-by: Sebastian Schaper <openwrt@sebastianschaper.net>
Diffstat (limited to 'target/linux/ath79/generic')
-rw-r--r-- | target/linux/ath79/generic/base-files/etc/board.d/02_network | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index a4eb2ae06b..48cd81fb21 100644 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -597,6 +597,7 @@ ath79_setup_macs() dlink,dir-825-b1) lan_mac=$(mtd_get_mac_text "caldata" 0xffa0) wan_mac=$(mtd_get_mac_text "caldata" 0xffb4) + label_mac=$wan_mac ;; dlink,dir-505) lan_mac=$(mtd_get_mac_text "mac" 0x4) |