wifi-scripts: fix missing variables for setting frag/rts
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
e56845fae3
commit
945d168dbe
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue