mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 09:42:09 +00:00
mediatek: filogic: fix WiFi MAC address retrieval for Adtran SDG-8734
Fix a typo in the MAC address assignment script affecting SDG-8734. Fixes: c71b68acdd ("mediatek: filogic: add Adtran SmartRG Mount Stuart series") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
2e6adf3682
commit
72d88af43f
@ -149,7 +149,7 @@ case "$board" in
|
|||||||
[ "$PHYNBR" = "2" ] && macaddr_add $addr 4 > /sys${DEVPATH}/macaddress
|
[ "$PHYNBR" = "2" ] && macaddr_add $addr 4 > /sys${DEVPATH}/macaddress
|
||||||
;;
|
;;
|
||||||
smartrg,sdg-8733|\
|
smartrg,sdg-8733|\
|
||||||
smartrg,sdg-8634)
|
smartrg,sdg-8734)
|
||||||
addr=$(mmc_get_mac_ascii mfginfo MFG_MAC)
|
addr=$(mmc_get_mac_ascii mfginfo MFG_MAC)
|
||||||
[ "$PHYNBR" = "0" ] && macaddr_add $addr 4 > /sys${DEVPATH}/macaddress
|
[ "$PHYNBR" = "0" ] && macaddr_add $addr 4 > /sys${DEVPATH}/macaddress
|
||||||
[ "$PHYNBR" = "1" ] && macaddr_add $addr a > /sys${DEVPATH}/macaddress
|
[ "$PHYNBR" = "1" ] && macaddr_add $addr a > /sys${DEVPATH}/macaddress
|
||||||
|
Loading…
x
Reference in New Issue
Block a user