From 945d168dbe0e4ff7aecaeaf33d778e9a43378c64 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 26 Jun 2025 19:16:21 +0200 Subject: [PATCH] wifi-scripts: fix missing variables for setting frag/rts Signed-off-by: Felix Fietkau --- .../wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh | 4 ++-- 1 file 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 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) {