wifi-scripts: fix setting tx power on some drivers
authorFelix Fietkau <nbd@nbd.name>
Sat, 4 Jan 2025 10:52:50 +0000 (11:52 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sat, 4 Jan 2025 10:55:04 +0000 (11:55 +0100)
commitb795e5cbcffc54e858bc8d3bde0031a2ca32377e
treea93fb7182570c900c0e6851a0861e53140dd06e9
parentf11bc4f201e3a4ffec8c1e2083124ebda60dd763
wifi-scripts: fix setting tx power on some drivers

On some drivers, setting the tx power on the interface is not enough.
Set it for the phy as well.

Fixes: 04fb05914ea7 ("wifi-scripts: add multi-radio config support")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh
package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh