qcacld-3.0: Fix issue that assoc link MLO flag cleared when roam to SLO
When roam from MLO to SLO, don't clear assoc link MLO flag. Remove 1 useless vdev parameter of mlo_cleanup_link. Change-Id: I3e3dff0ad3f3fef8f955eaae8af1a3c564248432 CRs-Fixed: 3298471
This commit is contained in:

committed by
Madan Koyyalamudi

parent
54ab12ab0c
commit
8028a343a7
@@ -87,16 +87,15 @@ end:
|
||||
}
|
||||
|
||||
static void
|
||||
mlo_cleanup_link(struct wlan_objmgr_vdev *tmp_vdev,
|
||||
struct wlan_objmgr_vdev *vdev, bool is_legacy)
|
||||
mlo_cleanup_link(struct wlan_objmgr_vdev *vdev, bool is_legacy)
|
||||
{
|
||||
if (is_legacy || wlan_vdev_mlme_is_mlo_link_vdev(tmp_vdev))
|
||||
if (is_legacy || wlan_vdev_mlme_is_mlo_link_vdev(vdev))
|
||||
wlan_vdev_mlme_feat_ext2_cap_clear(vdev, WLAN_VDEV_FEXT2_MLO);
|
||||
|
||||
if (wlan_vdev_mlme_is_mlo_link_vdev(tmp_vdev)) {
|
||||
cm_cleanup_mlo_link(tmp_vdev);
|
||||
wlan_vdev_mlme_feat_ext2_cap_clear(tmp_vdev,
|
||||
WLAN_VDEV_FEXT2_MLO_STA_LINK);
|
||||
if (wlan_vdev_mlme_is_mlo_link_vdev(vdev)) {
|
||||
cm_cleanup_mlo_link(vdev);
|
||||
wlan_vdev_mlme_feat_ext2_cap_clear(vdev,
|
||||
WLAN_VDEV_FEXT2_MLO_STA_LINK);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -125,7 +124,7 @@ mlo_update_for_single_link_roam(struct wlan_objmgr_psoc *psoc,
|
||||
continue;
|
||||
|
||||
tmp_vdev = mlo_dev_ctx->wlan_vdev_list[i];
|
||||
mlo_cleanup_link(tmp_vdev, vdev, is_legacy);
|
||||
mlo_cleanup_link(tmp_vdev, is_legacy);
|
||||
}
|
||||
|
||||
end:
|
||||
@@ -165,8 +164,7 @@ mlo_update_for_single_link_roam(struct wlan_objmgr_psoc *psoc,
|
||||
{}
|
||||
|
||||
static inline void
|
||||
mlo_cleanup_link(struct wlan_objmgr_vdev *tmp_vdev,
|
||||
struct wlan_objmgr_vdev *vdev, bool is_legacy)
|
||||
mlo_cleanup_link(struct wlan_objmgr_vdev *vdev, bool is_legacy)
|
||||
{}
|
||||
|
||||
static inline void
|
||||
|
Reference in New Issue
Block a user