From b3a8f6289e6ec940910f71bd23f352be03860d5c Mon Sep 17 00:00:00 2001 From: Krishna Kumaar Natarajan Date: Fri, 31 Mar 2017 10:41:41 -0700 Subject: [PATCH] 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 --- core/wma/src/wma_he.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/wma/src/wma_he.c b/core/wma/src/wma_he.c index 9acdd4657349..570ed64947d3 100644 --- a/core/wma/src/wma_he.c +++ b/core/wma/src/wma_he.c @@ -937,7 +937,7 @@ void wma_populate_peer_he_cap(struct peer_assoc_params *peer, 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 @@ void wma_update_vdev_he_ops(struct wma_vdev_start_req *req, 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,