浏览代码

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 6 年之前
父节点
当前提交
4fde2e5169
共有 1 个文件被更改,包括 4 次插入0 次删除
  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_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,
 						WLAN_PDEV_F_MULTIVDEV_RESTART))
 			wlan_objmgr_pdev_iterate_obj_list