wifi-scripts: fix missing variables for setting frag/rts

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2025-06-26 19:16:21 +02:00
parent e56845fae3
commit 945d168dbe

View file

@ -198,9 +198,9 @@ function setup_phy(phy, config, data) {
system(`iw phy ${phy} set txpower ${config.txpower}`);
if (config.frag)
system(`iw phy ${phy} set frag ${frag}`);
system(`iw phy ${phy} set frag ${config.frag}`);
if (config.rts)
system(`iw phy ${phy} set rts ${rts}`);
system(`iw phy ${phy} set rts ${config.rts}`);
}
function iw_htmode(config) {