mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-17 09:16:59 +00:00
qualcommax: ipq807x: use label MAC to set addresses for wireless interfaces
Use label MAC to set addresses for wireless interfaces for Linksys MX4200v2 and MX4300. Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18759 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
35a4607008
commit
415a0d54c9
@ -45,7 +45,7 @@ case "$FIRMWARE" in
|
||||
;;
|
||||
linksys,mx4200v2)
|
||||
caldata_extract "0:art" 0x1000 0x20000
|
||||
label_mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)
|
||||
label_mac=$(get_mac_label)
|
||||
ath11k_patch_mac $(macaddr_add $label_mac 2) 0
|
||||
ath11k_patch_mac $(macaddr_add $label_mac 1) 1
|
||||
ath11k_patch_mac $(macaddr_add $label_mac 3) 2
|
||||
@ -54,7 +54,7 @@ case "$FIRMWARE" in
|
||||
;;
|
||||
linksys,mx4300)
|
||||
caldata_extract "0:art" 0x1000 0x20000
|
||||
label_mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)
|
||||
label_mac=$(get_mac_label)
|
||||
ath11k_patch_mac $(macaddr_add $label_mac 2) 0
|
||||
ath11k_patch_mac $(macaddr_add $label_mac 1) 1
|
||||
ath11k_patch_mac $(macaddr_add $label_mac 3) 2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user