qcacld-3.0: Don't free mlo_link_set_active_req
Currently req->ctx.cb_arg is assigned req memory in wlan_mlo_sta_mlo_concurency_set_link. and passed to mlo_ser_set_link_req, where req is again alocated and req pointer of req->ctx.cb_arg is freed, thus making req->ctx.cb_arg invalid. Fix is to avoid allocation of req again and use the requester memory of mlo_ser_set_link_req as umac_cmd. Change-Id: Ic96efa204662269fe812c195a3bc8a1da5b215ad CRs-Fixed: 3188737
Cette révision appartient à :

révisé par
Madan Koyyalamudi

Parent
b03e4e664a
révision
9bb61d5265
@@ -3895,12 +3895,13 @@ wlan_mlo_sta_mlo_concurency_set_link(struct wlan_objmgr_vdev *vdev,
|
||||
}
|
||||
|
||||
status = mlo_ser_set_link_req(req);
|
||||
if (QDF_IS_STATUS_ERROR(status))
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
mlme_err("vdev %d: Failed to set link mode %d num_mlo_vdev %d reason %d",
|
||||
wlan_vdev_get_id(vdev), mode, num_mlo_vdev,
|
||||
reason);
|
||||
qdf_mem_free(req);
|
||||
}
|
||||
|
||||
qdf_mem_free(req);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur