qcacld-3.0: Fix the issue with SU Tx beamformee in 20MHz mode

Correct the configuration check to enable/disable the Tx SU
beamformee setting in 20MHz mode operation.

Change-Id: I958d5319acf98931187304f2c6fe2a9aff5991b7
CRs-Fixed: 2343849
This commit is contained in:
Kiran Kumar Lokere
2018-11-01 19:03:23 -07:00
committed by nshrivas
parent 91601a3803
commit 9f0330f0ab
2 changed files with 4 additions and 5 deletions

View File

@@ -1573,7 +1573,7 @@ wlan_mlme_get_vht_enable_tx_bf(struct wlan_objmgr_psoc *psoc, bool *value)
return QDF_STATUS_E_FAILURE;
}
*value = mlme_obj->cfg.vht_caps.vht_cap_info.enable_txbf_20mhz;
*value = mlme_obj->cfg.vht_caps.vht_cap_info.su_bformee;
return QDF_STATUS_SUCCESS;
}
@@ -1852,7 +1852,7 @@ QDF_STATUS mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc,
vht_cap_info->su_bformer = cfg->vht_su_bformer;
/* check and update SU BEAMFORMEE capabality */
if (vht_cap_info->enable_txbf_20mhz && !cfg->vht_su_bformee)
if (vht_cap_info->su_bformee && !cfg->vht_su_bformee)
vht_cap_info->su_bformee = cfg->vht_su_bformee;
/* Set VHT MU Beamformer cap */