diff options
| author | Paweł Owoc | 2025-05-16 15:53:46 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-09-16 13:19:54 +0000 |
| commit | 415a0d54c9ead2504d7e879f28c59ec7cde25c9b (patch) | |
| tree | 582e263593441bae1fe3d33e9cf9c087ec18a182 | |
| parent | 35a4607008909dc9052f3453a68931bb97fc0279 (diff) | |
| download | openwrt-415a0d54c9ead2504d7e879f28c59ec7cde25c9b.tar.gz | |
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>
| -rw-r--r-- | target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/firmware/11-ath11k-caldata | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/firmware/11-ath11k-caldata b/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/firmware/11-ath11k-caldata index d46e84bf8b..6a9d5afb98 100644 --- a/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/firmware/11-ath11k-caldata +++ b/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/firmware/11-ath11k-caldata @@ -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 |