[openwrt/openwrt] mac80211: add missing newline for "min_tx_power"
LEDE Commits
lede-commits at lists.infradead.org
Fri Jan 5 07:34:25 PST 2024
ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/3aec71a176b43da5c4f1901ad423bacfb258f444
commit 3aec71a176b43da5c4f1901ad423bacfb258f444
Author: Rany Hany <rany_hany at riseup.net>
AuthorDate: Wed Jan 3 18:43:33 2024 +0200
mac80211: add missing newline for "min_tx_power"
This prevents min_tx_power from functioning properly in some circumstances.
Add the missing newline.
Signed-off-by: Rany Hany <rany_hany at riseup.net>
(cherry picked from commit 6ca8752a9cadac810f8541ec1be67d02265175aa)
---
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 1bf4db6e5f..b5378e556e 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -145,7 +145,7 @@ mac80211_hostapd_setup_base() {
[ "$auto_channel" = 0 ] && [ -z "$channel_list" ] && \
channel_list="$channel"
- [ "$min_tx_power" -gt 0 ] && append base_cfg "min_tx_power=$min_tx_power"
+ [ "$min_tx_power" -gt 0 ] && append base_cfg "min_tx_power=$min_tx_power" "$N"
set_default noscan 0
More information about the lede-commits
mailing list