aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x
diff options
context:
space:
mode:
authorYanase Yuki <dev@zpc.sakura.ne.jp>2020-03-16 17:42:38 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-16 16:53:47 +0100
commitd97c9bae81059e0ef2152a65ecfb553a554acea2 (patch)
treef13893a3f9eedd8429cdec865b20a4192b59fe86 /target/linux/ipq806x
parentc2ddc3a0c4c337202ff4d4864bc02d6876236c53 (diff)
downloadupstream-d97c9bae81059e0ef2152a65ecfb553a554acea2.tar.gz
upstream-d97c9bae81059e0ef2152a65ecfb553a554acea2.tar.bz2
upstream-d97c9bae81059e0ef2152a65ecfb553a554acea2.zip
ipq806x: read both WG2600HP MAC addresses from flash
WG2600HP has its WLAN MAC addresses at PRODUCTDATA 0xc and 0x12, so use them both directly. Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp> [commit title/message clarification] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ipq806x')
-rw-r--r--target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 6013bb100c..bb505d642f 100644
--- a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -19,7 +19,7 @@ case "$FIRMWARE" in
;;
nec,wg2600hp)
caldata_extract "ART" 0x1000 0x2f20
- ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary PRODUCTDATA 0xc) +1)
+ ath10k_patch_mac $(mtd_get_mac_binary PRODUCTDATA 0x12)
;;
netgear,d7800 |\
netgear,r7500v2 |\