qcacmn: Fix Ref leak issue in MLO dev ctx

Fix ref leak issue in MLO dev ctx detach

Change-Id: Ib42b809cd81f8e36b402d9329ea49338b420c7bd
CRs-Fixed: 3598739
This commit is contained in:
Kenvish Butani
2023-08-25 22:11:25 +05:30
committed by Rahul Choudhary
parent c56d06d1ad
commit fadd99318e

View File

@@ -3110,6 +3110,7 @@ QDF_STATUS dp_mlo_dev_ctxt_vdev_detach(struct cdp_soc_t *soc_hdl,
return QDF_STATUS_E_INVAL; return QDF_STATUS_E_INVAL;
} }
mlo_dev_ctxt = be_vdev->mlo_dev_ctxt; mlo_dev_ctxt = be_vdev->mlo_dev_ctxt;
dp_mlo_dev_get_ref(mlo_dev_ctxt, DP_MOD_ID_MLO_DEV);
} }
dp_detach_vdev_list_in_mlo_dev_ctxt(be_soc, vdev, mlo_dev_ctxt); dp_detach_vdev_list_in_mlo_dev_ctxt(be_soc, vdev, mlo_dev_ctxt);