qcacld-3.0: Update HE ops correctly in vdev start request
Update HE ops correctly in vdev start request. Currently the update
is done in a local copy and is not updating the vdev start request.
Fix is to copy the local he ops value into vdev start request.
Change-Id: Ife5b40a8df3d6a47c2f170efdb7aae009bb8be95
CRs-Fixed: 1073481
diff --git a/core/wma/src/wma_he.c b/core/wma/src/wma_he.c
index 9acdd46..570ed64 100644
--- a/core/wma/src/wma_he.c
+++ b/core/wma/src/wma_he.c
@@ -937,7 +937,7 @@
void wma_update_vdev_he_ops(struct wma_vdev_start_req *req,
tpAddBssParams add_bss)
{
- uint32_t he_ops = req->he_ops;
+ uint32_t he_ops = 0;
tDot11fIEvendor_he_op *he_op = &add_bss->he_op;
req->he_capable = add_bss->he_capable;
@@ -951,6 +951,8 @@
WMI_HEOPS_TXBSSID_SET(he_ops, he_op->tx_bssid_ind);
WMI_HEOPS_BSSCOLORDISABLE_SET(he_ops, he_op->bss_col_disabled);
WMI_HEOPS_DUALBEACON_SET(he_ops, he_op->dual_beacon);
+
+ req->he_ops = he_ops;
}
void wma_copy_txrxnode_he_ops(struct wma_txrx_node *node,