qcacmn: move API for getting ML vdev list out of WLAN_MLO_MULTI_CHIP

mlo_get_ml_vdev_list() is a common API, it should not be
embraced by macro WLAN_MLO_MULTI_CHIP.

Change-Id: Icf22de20fdeca374d674109d10b4887b833fa346
CRs-Fixed: 3073916
This commit is contained in:
Yu Wang
2021-11-12 11:17:46 +08:00
committed by Madan Koyyalamudi
parent 8410d24e7b
commit 0c8f452ae6

View File

@@ -297,6 +297,7 @@ wlan_mlo_get_pdev_by_hw_link_id(uint16_t hw_link_id,
return itr.pdev; return itr.pdev;
} }
#endif /*WLAN_MLO_MULTI_CHIP*/
void mlo_get_ml_vdev_list(struct wlan_objmgr_vdev *vdev, void mlo_get_ml_vdev_list(struct wlan_objmgr_vdev *vdev,
uint16_t *vdev_count, uint16_t *vdev_count,
@@ -332,4 +333,3 @@ void mlo_get_ml_vdev_list(struct wlan_objmgr_vdev *vdev,
} }
mlo_dev_lock_release(dev_ctx); mlo_dev_lock_release(dev_ctx);
} }
#endif /*WLAN_MLO_MULTI_CHIP*/