Эх сурвалжийг харах

qcacmn: use appropriate MOD_ID while updating primary VDEV for a peer

In the case of MLO updating the mod id param,
where initial link is not the primary link.

Change-Id: I2fe21ffb2ebf3a081da7f07a4828d41f1bcea98e
Sai Rupesh Chevuru 3 жил өмнө
parent
commit
ffb9ec5cae
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      dp/wifi3.0/dp_main.c

+ 2 - 2
dp/wifi3.0/dp_main.c

@@ -6694,13 +6694,13 @@ QDF_STATUS dp_peer_mlo_setup(
 
 			/* relase the ref to original dp_vdev */
 			dp_vdev_unref_delete(soc, mld_peer->vdev,
-					     DP_MOD_ID_CDP);
+					     DP_MOD_ID_CHILD);
 			/*
 			 * get the ref to new dp_vdev,
 			 * increase dp_vdev ref_cnt
 			 */
 			mld_peer->vdev = dp_vdev_get_ref_by_id(soc, vdev_id,
-							       DP_MOD_ID_CDP);
+							       DP_MOD_ID_CHILD);
 		}
 
 		/* associate mld and link peer */