diff options
| author | Felix Fietkau | 2025-06-26 17:16:21 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2025-06-26 17:16:42 +0000 |
| commit | 945d168dbe0e4ff7aecaeaf33d778e9a43378c64 (patch) | |
| tree | 483517696d53a11ab5a59ff29c1b4c3d1a133857 | |
| parent | e56845fae3c05463a57ba8e0e104d6d8d8cd96ed (diff) | |
| download | openwrt-945d168dbe0e4ff7aecaeaf33d778e9a43378c64.tar.gz | |
wifi-scripts: fix missing variables for setting frag/rts
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rwxr-xr-x | package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh b/package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh index d278f89518..96cd0d0fc3 100755 --- a/package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh +++ b/package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh @@ -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) { |