Pārlūkot izejas kodu

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
Krishna Kumaar Natarajan 8 gadi atpakaļ
vecāks
revīzija
b3a8f6289e
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      core/wma/src/wma_he.c

+ 3 - 1
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,