aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
diff options
context:
space:
mode:
authorSebastian Schaper <openwrt@sebastianschaper.net>2021-08-25 22:00:08 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-11-20 21:08:25 +0100
commitbe88f416db0a7ba7064c1b8bcb9556452d0729d3 (patch)
tree31821612cc02a6340c8a8a5bbbf19b0cd8012754 /target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
parent3d896850885d3d721018aa742b1c7471155b78f0 (diff)
downloadupstream-be88f416db0a7ba7064c1b8bcb9556452d0729d3.tar.gz
upstream-be88f416db0a7ba7064c1b8bcb9556452d0729d3.tar.bz2
upstream-be88f416db0a7ba7064c1b8bcb9556452d0729d3.zip
ath79: move cal-data extraction to dts for DAP-2695
This device can be merged with the existing dtsi, which declares the location of ath9k cal-data via devicetree, correcting the 2.4G mac address in `10_fix_wifi_mac` rather than `10-ath9k-eeprom`. To make these changes more visible, apply before merging with dtsi. Signed-off-by: Sebastian Schaper <openwrt@sebastianschaper.net>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac')
-rw-r--r--target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac1
1 files changed, 1 insertions, 0 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 ac8b59c538..a4f82c54e2 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
@@ -28,6 +28,7 @@ case "$board" in
;;
dlink,dap-2660-a1|\
dlink,dap-2680-a1|\
+ dlink,dap-2695-a1|\
dlink,dap-3662-a1)
[ "$PHYNBR" -eq 1 ] && \
mtd_get_mac_ascii bdcfg "wlanmac" > /sys${DEVPATH}/macaddress