mediatek: filogic: fix WiFi MAC address retrieval for Adtran SDG-8734
authorDaniel Golle <daniel@makrotopia.org>
Thu, 19 Sep 2024 13:36:43 +0000 (14:36 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 19 Sep 2024 13:37:56 +0000 (14:37 +0100)
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>
target/linux/mediatek/filogic/base-files/etc/hotplug.d/ieee80211/11_fix_wifi_mac

index ff9e9f881c5edfb839d30b9b66839da59bf1a432..0b483bfa8791498e8fa8818108937b78c10345e0 100644 (file)
@@ -149,7 +149,7 @@ case "$board" in
                [ "$PHYNBR" = "2" ] && macaddr_add $addr 4 > /sys${DEVPATH}/macaddress
                ;;
        smartrg,sdg-8733|\
-       smartrg,sdg-8634)
+       smartrg,sdg-8734)
                addr=$(mmc_get_mac_ascii mfginfo MFG_MAC)
                [ "$PHYNBR" = "0" ] && macaddr_add $addr 4 > /sys${DEVPATH}/macaddress
                [ "$PHYNBR" = "1" ] && macaddr_add $addr a > /sys${DEVPATH}/macaddress