From: Felix Fietkau Date: Thu, 26 Jun 2025 17:16:21 +0000 (+0200) Subject: wifi-scripts: fix missing variables for setting frag/rts X-Git-Tag: v25.12.0-rc1~2122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=945d168dbe0e4ff7aecaeaf33d778e9a43378c64;p=thirdparty%2Fopenwrt.git wifi-scripts: fix missing variables for setting frag/rts Signed-off-by: Felix Fietkau --- 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 d278f89518d..96cd0d0fc37 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) {