[PATCH 1/9] hostapd: fix wrong vht configuration capabilities flags

eliad at wizery.com eliad at wizery.com
Thu Oct 17 04:03:38 EDT 2013


From: Eliad Peller <eliad at wizery.com>

Wrong capabilities flags were used when certain vht
capabilities were defined.

Signed-hostap: Eliad Peller <eliadx.peller at intel.com>
---
 hostapd/config_file.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index dc68fc8..bee5028 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -1060,9 +1060,9 @@ static int hostapd_config_vht_capab(struct hostapd_config *conf,
 	if (os_strstr(capab, "[RX-STBC-1234]"))
 		conf->vht_capab |= VHT_CAP_RXSTBC_4;
 	if (os_strstr(capab, "[SU-BEAMFORMER]"))
-		conf->vht_capab |= VHT_CAP_MU_BEAMFORMER_CAPABLE;
+		conf->vht_capab |= VHT_CAP_SU_BEAMFORMER_CAPABLE;
 	if (os_strstr(capab, "[SU-BEAMFORMEE]"))
-		conf->vht_capab |= VHT_CAP_MU_BEAMFORMEE_CAPABLE;
+		conf->vht_capab |= VHT_CAP_SU_BEAMFORMEE_CAPABLE;
 	if (os_strstr(capab, "[BF-ANTENNA-2]") &&
 	    (conf->vht_capab & VHT_CAP_MU_BEAMFORMER_CAPABLE))
 		conf->vht_capab |= VHT_CAP_BEAMFORMER_ANTENNAS_MAX;
-- 
1.7.10.4



More information about the HostAP mailing list