aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic/base-files/etc/hotplug.d
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2023-11-16 17:30:11 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-11-27 00:34:49 +0100
commit32098554d911f092b9779e4768bf6d819d850bb5 (patch)
tree9ad5c8f18fb035e7374682e9076c6c6545bbd6f3 /target/linux/ath79/generic/base-files/etc/hotplug.d
parent7e5e0100358d59e6652ddbe2869f804c19854922 (diff)
downloadupstream-32098554d911f092b9779e4768bf6d819d850bb5.tar.gz
upstream-32098554d911f092b9779e4768bf6d819d850bb5.tar.bz2
upstream-32098554d911f092b9779e4768bf6d819d850bb5.zip
ath79: fortinet-fap-221-b: convert to nvmem-layout
Now that MAC address parser supports the hex format (without delimiters), use the canonical MAC address stored in U-boot partition. Get rid of the userspace adjustments which are no longer necessary. While at that, move the mac-base to the common part, as it is again exactly the same in both models. And convert ART partition too - keep that one separate, as calibration data length differs between the models. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc/hotplug.d')
-rw-r--r--target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac3
1 files changed, 0 insertions, 3 deletions
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 ccff35e5c63..42b69d2ca0c 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
@@ -47,9 +47,6 @@ case "$board" in
engenius,esr900)
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" "$PHYNBR" > /sys${DEVPATH}/macaddress
;;
- fortinet,fap-221-b)
- macaddr_add "$(mtd_get_mac_text u-boot 0x3ff80 12)" $((PHYNBR*7+1)) > /sys${DEVPATH}/macaddress
- ;;
iodata,wn-ac1600dgr)
# There is no eeprom data for 5 GHz wlan in "art" partition
# which would allow to patch the macaddress