Browse Source

hostapd: Fix wrong VHT configuration capabilities flags

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

Signed-hostap: Eliad Peller <eliadx.peller@intel.com>
Eliad Peller 11 years ago
parent
commit
7066a8e7dd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hostapd/config_file.c

+ 2 - 2
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;