ipq807x: fix mac assignment on eap101

Fixes: WIFI-6193
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2022-01-23 15:59:09 +01:00
parent 1833a9a3fb
commit 9a01085401

View File

@@ -19,8 +19,8 @@ ath11k_generate_macs() {
ath11k_generate_macs_eap101() {
touch /lib/firmware/ath11k-macs
eth=$(cat /sys/class/net/eth0/address)
mac1=$(macaddr_add $eth 3)
mac2=$(macaddr_add $eth 4)
mac1=$(macaddr_add $eth 4)
mac2=$(macaddr_add $eth 3)
mac3=$(macaddr_add $eth 5)
echo -ne \\x${mac1//:/\\x} >> /lib/firmware/ath11k-macs
echo -ne \\x${mac2//:/\\x} >> /lib/firmware/ath11k-macs
@@ -120,7 +120,7 @@ ath11k/QCN9074/hw1.0/caldata_2.bin)
ath11k-macs)
case "$board" in
edgecore,eap101)
# ath11k_generate_macs_eap101
ath11k_generate_macs_eap101
;;
edgecore,eap102|\
edgecore,eap106|\