Explorar o código

qcacmn: Fix Ref leak issue in MLO dev ctx

Fix ref leak issue in MLO dev ctx detach

Change-Id: Ib42b809cd81f8e36b402d9329ea49338b420c7bd
CRs-Fixed: 3598739
Kenvish Butani hai 1 ano
pai
achega
fadd99318e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      dp/wifi3.0/be/dp_be.c

+ 1 - 0
dp/wifi3.0/be/dp_be.c

@@ -3110,6 +3110,7 @@ QDF_STATUS dp_mlo_dev_ctxt_vdev_detach(struct cdp_soc_t *soc_hdl,
 			return QDF_STATUS_E_INVAL;
 		}
 		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);