aboutsummaryrefslogtreecommitdiff
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorRany Hany <rany_hany@riseup.net>2024-01-03 18:43:33 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2024-01-05 16:33:52 +0100
commit6ca8752a9cadac810f8541ec1be67d02265175aa (patch)
tree12fab3e74d458b2fb3bcd4b177df2d5c71940773 /package/kernel/mac80211
parent14a3eadf059dd3f7db75ab88e89cf25d0d1680da (diff)
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@riseup.net>
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
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