Explorar o código

qca-wifi: Update pdev restart bmap from restart send bitmap

Add change to copy the contents of multivdev restart send bitmap
to the pdev restart attribute holder which will be reset when all
the vdevs of the pdev are in the UP state

Change-Id: Ieef13fd5b5db25ddd2b8736c9d01786c537c3483
CRs-Fixed: 2492538
Santosh Anbu %!s(int64=6) %!d(string=hai) anos
pai
achega
4fde2e5169
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      umac/mlme/vdev_mgr/core/src/vdev_mlme_sm_actions.c

+ 4 - 0
umac/mlme/vdev_mgr/core/src/vdev_mlme_sm_actions.c

@@ -289,6 +289,10 @@ static void mlme_multivdev_restart(struct pdev_mlme_obj *pdev_mlme)
 		wlan_pdev_mlme_op_clear(pdev, WLAN_PDEV_OP_MBSSID_RESTART);
 		wlan_pdev_mlme_op_clear(pdev, WLAN_PDEV_OP_MBSSID_RESTART);
 		wlan_pdev_mlme_op_clear(pdev, WLAN_PDEV_OP_RESTART_INPROGRESS);
 		wlan_pdev_mlme_op_clear(pdev, WLAN_PDEV_OP_RESTART_INPROGRESS);
 
 
+		qdf_mem_copy(&pdev_mlme->pdev_restart.restart_bmap,
+			     &pdev_mlme->restart_send_vdev_bmap,
+			     sizeof(pdev_mlme->pdev_restart.restart_bmap));
+
 		if (!wlan_pdev_nif_feat_cap_get(pdev,
 		if (!wlan_pdev_nif_feat_cap_get(pdev,
 						WLAN_PDEV_F_MULTIVDEV_RESTART))
 						WLAN_PDEV_F_MULTIVDEV_RESTART))
 			wlan_objmgr_pdev_iterate_obj_list
 			wlan_objmgr_pdev_iterate_obj_list