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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
d5285ebf3e
commit
ffb9ec5cae
@@ -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 */
|
||||
|
Reference in New Issue
Block a user