mac80211: add missing newline for "min_tx_power"
authorRany Hany <rany_hany@riseup.net>
Wed, 3 Jan 2024 16:43:33 +0000 (18:43 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 5 Jan 2024 15:33:52 +0000 (16:33 +0100)
This prevents min_tx_power from functioning properly in some circumstances.
Add the missing newline.

Signed-off-by: Rany Hany <rany_hany@riseup.net>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh

index 1bf4db6e5f0554bce5e93d024563becd10ec81ba..b5378e556eb232fdf30f42192d9a00dfb075c456 100644 (file)
@@ -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