[openwrt/openwrt] wifi-scripts: fix missing variables for setting frag/rts
LEDE Commits
lede-commits at lists.infradead.org
Thu Jun 26 10:16:44 PDT 2025
nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/945d168dbe0e4ff7aecaeaf33d778e9a43378c64
commit 945d168dbe0e4ff7aecaeaf33d778e9a43378c64
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Jun 26 19:16:21 2025 +0200
wifi-scripts: fix missing variables for setting frag/rts
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
.../config/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 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) {
More information about the lede-commits
mailing list