|
@@ -822,13 +822,13 @@ static inline void mlo_t2lm_ctx_deinit(struct wlan_objmgr_vdev *vdev)
|
|
|
/**
|
|
|
* mlo_epcs_ctx_deinit() - API to deinitialize the epcs context with the default
|
|
|
* values.
|
|
|
- * @vdev: Pointer to vdev structure
|
|
|
+ * @mlo_dev_ctx: MLO dev context pointer
|
|
|
*
|
|
|
* Return: None
|
|
|
*/
|
|
|
-static inline void mlo_epcs_ctx_deinit(struct wlan_objmgr_vdev *vdev)
|
|
|
+static inline void mlo_epcs_ctx_deinit(struct wlan_mlo_dev_context *mlo_dev_ctx)
|
|
|
{
|
|
|
- epcs_dev_lock_destroy(&vdev->mlo_dev_ctx->epcs_ctx);
|
|
|
+ epcs_dev_lock_destroy(&mlo_dev_ctx->epcs_ctx);
|
|
|
}
|
|
|
|
|
|
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
|
@@ -912,7 +912,7 @@ static QDF_STATUS mlo_dev_ctx_deinit(struct wlan_objmgr_vdev *vdev)
|
|
|
mlo_ptqm_migration_deinit(ml_dev);
|
|
|
mlo_mgr_link_switch_deinit(ml_dev);
|
|
|
mlo_t2lm_ctx_deinit(vdev);
|
|
|
- mlo_epcs_ctx_deinit(vdev);
|
|
|
+ mlo_epcs_ctx_deinit(ml_dev);
|
|
|
tsf_recalculation_lock_destroy(ml_dev);
|
|
|
mlo_dev_lock_destroy(ml_dev);
|
|
|
qdf_mem_free(ml_dev);
|