[openwrt/openwrt] ath79: fix wrong mac address for ecb1xx0

LEDE Commits lede-commits at lists.infradead.org
Fri Jun 14 05:21:57 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/932808ebde24f4d7bee89fa6d4433abb0b1841c1

commit 932808ebde24f4d7bee89fa6d4433abb0b1841c1
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Thu Jun 13 16:49:02 2024 -0700

    ath79: fix wrong mac address for ecb1xx0
    
    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 at gmail.com>
---
 .../ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
index b90e382223..2a1f230eb4 100644
--- a/target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
+++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
@@ -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|\




More information about the lede-commits mailing list