ath79: fix wrong mac address for ecb1xx0
authorRosen Penev <rosenp@gmail.com>
Thu, 13 Jun 2024 23:49:02 +0000 (16:49 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 14 Jun 2024 12:20:27 +0000 (14:20 +0200)
0db4f9785ca30f79fa1abbffb0fab5a6053f68f5 changed the variable name from
athaddr to ethaddr. Restore.

Fixes: 0db4f9785ca3 ("ath79: convert ath10k calibration data to NVMEM (ASCII MAC)")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac

index b90e382223ae502edfc2bdffc6500cea438ba3bc..2a1f230eb4f3275d39e007e8bb8330a21349b1c0 100644 (file)
@@ -55,7 +55,7 @@ case "$board" in
        engenius,ecb1200|\
        engenius,ecb1750)
                [ "$PHYNBR" -eq 0 ] && \
-               mtd_get_mac_ascii u-boot-env ethaddr > /sys${DEVPATH}/macaddress
+                       mtd_get_mac_ascii u-boot-env athaddr > /sys${DEVPATH}/macaddress
                ;;
        engenius,epg5000|\
        engenius,esr1200|\