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:56:06 +0000 (11:56 +0100)
commit2f60e7f00629bb12b066c06fee6b67664776b475
tree3f2f086ffe7c8431a2a6b3015ccf8252065d5c05
parent6ba1f831c7a20288eb0bf16767fc5a26f30cc8eb
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>
(cherry picked from commit b795e5cbcffc54e858bc8d3bde0031a2ca32377e)
package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh