From: Yanase Yuki Date: Mon, 16 Mar 2020 08:42:38 +0000 (+0900) Subject: ipq806x: read both WG2600HP MAC addresses from flash X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d97c9bae81059e0ef2152a65ecfb553a554acea2;p=oweals%2Fopenwrt.git 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 --- 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 |\