Skip to content

Commit

Permalink
ath79: fix label MAC address for D-Link DIR-825B1
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
s-2 authored and blocktrron committed May 28, 2022
1 parent 275a76e commit 4bed263
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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)
Expand Down

0 comments on commit 4bed263

Please sign in to comment.