Skip to content
Snippets Groups Projects
Commit f9813f41 authored by Florian Maurer's avatar Florian Maurer Committed by Hauke Mehrtens
Browse files

lantiq: xrx200: fb7430 set correct label-mac


the CWMP account mac is correctly set on the lan device but was not correctly as label-mac

Signed-off-by: default avatarFlorian Maurer <f.maurer@outlook.de>
Link: https://github.com/openwrt/openwrt/pull/17618


Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
parent 65de1e0f
No related branches found
No related tags found
No related merge requests found
...@@ -125,6 +125,7 @@ lantiq_setup_macs() ...@@ -125,6 +125,7 @@ lantiq_setup_macs()
tffsdev=$(find_mtd_chardev "nand-tffs") tffsdev=$(find_mtd_chardev "nand-tffs")
lan_mac=$(/usr/bin/fritz_tffs_nand -d $tffsdev -n maca -o) lan_mac=$(/usr/bin/fritz_tffs_nand -d $tffsdev -n maca -o)
wan_mac=$(/usr/bin/fritz_tffs_nand -d $tffsdev -n macdsl -o) wan_mac=$(/usr/bin/fritz_tffs_nand -d $tffsdev -n macdsl -o)
label_mac=$lan_mac
;; ;;
bt,homehub-v5a) bt,homehub-v5a)
lan_mac=$(mtd_get_mac_binary_ubi caldata 0x110c) lan_mac=$(mtd_get_mac_binary_ubi caldata 0x110c)
...@@ -142,6 +143,7 @@ lantiq_setup_macs() ...@@ -142,6 +143,7 @@ lantiq_setup_macs()
[ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" "$lan_mac" [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" "$lan_mac"
[ -n "$wan_mac" ] && ucidef_set_interface_macaddr "wan" "$wan_mac" [ -n "$wan_mac" ] && ucidef_set_interface_macaddr "wan" "$wan_mac"
[ -n "$label_mac" ] && ucidef_set_label_macaddr "$label_mac"
} }
board_config_update board_config_update
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment