From d97c9bae81059e0ef2152a65ecfb553a554acea2 Mon Sep 17 00:00:00 2001 From: Yanase Yuki Date: Mon, 16 Mar 2020 17:42:38 +0900 Subject: [PATCH] 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 [commit title/message clarification] Signed-off-by: Adrian Schmutzler --- .../ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 |\