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>
This commit is contained in:
parent
6651f1f9f1
commit
7066a8e7dd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue