[openwrt/openwrt] mac80211: fix incorrect parameter

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 31 18:49:11 EST 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8019c54d8a191cfb90c3bf06ff367f601f872fd1

commit 8019c54d8a191cfb90c3bf06ff367f601f872fd1
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Tue Jan 19 02:36:14 2021 +0100

    mac80211: fix incorrect parameter
    
    he_mu_beamformer only accepts values of 0 and 1 according to the hostapd
    documentation.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 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 b4008f3d58..92c56afd24 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -346,7 +346,7 @@ mac80211_hostapd_setup_base() {
 		append base_cfg "he_rts_threshold=1023" "$N"
 		append base_cfg "he_su_beamformer=1" "$N"
 		append base_cfg "he_su_beamformee=1" "$N"
-		append base_cfg "he_mu_beamformer=1023" "$N"
+		append base_cfg "he_mu_beamformer=1" "$N"
 	fi
 
 	hostapd_prepare_device_config "$hostapd_conf_file" nl80211



More information about the lede-commits mailing list