qcacld-3.0: Remove unused allocation of mlo ie struct
Remove unused allocation of mlo ie struct in sir_convert_mlo_probe_rsp_frame2_struct. Change-Id: I42e71f7d09304eb91629bed036f40980bf34792a CRs-Fixed: 3045161
Tento commit je obsažen v:
@@ -7739,7 +7739,6 @@ QDF_STATUS
|
||||
sir_convert_mlo_probe_rsp_frame2_struct(tDot11fProbeResponse *pr,
|
||||
tpSirMultiLink_IE mlo_ie_ptr)
|
||||
{
|
||||
tDot11fIEmlo_ie *mlo_ie;
|
||||
tDot11fIEsta_profile *sta_prof, *pStaProf;
|
||||
|
||||
if (!pr)
|
||||
@@ -7750,10 +7749,6 @@ sir_convert_mlo_probe_rsp_frame2_struct(tDot11fProbeResponse *pr,
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
mlo_ie = qdf_mem_malloc(sizeof(*mlo_ie));
|
||||
if (!mlo_ie)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
||||
qdf_mem_zero((uint8_t *)mlo_ie_ptr, sizeof(tSirMultiLink_IE));
|
||||
|
||||
mlo_ie_ptr->mlo_ie.present = pr->mlo_ie.present;
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele