qcacmn: Clear copied connect request IEs on disconnect
If non-ML type connection fails, then the connection IEs copied in sta ctx are not cleared as VDEV is not ML VDEV. Clear the IEs if connection fails irrespective of VDEV type. Change-Id: I2a2ca155aadeb408e9a4a425d3f1f03f4dbfb867 CRs-Fixed: 3572185
This commit is contained in:

committed by
Rahul Choudhary

vanhempi
97684a103f
commit
2ec28965cf
@@ -1216,10 +1216,12 @@ void mlo_sta_link_connect_notify(struct wlan_objmgr_vdev *vdev,
|
||||
if (mlo_sta_ignore_link_connect_fail(vdev))
|
||||
return;
|
||||
|
||||
if (wlan_cm_is_vdev_disconnected(vdev))
|
||||
mlo_free_copied_conn_req(sta_ctx);
|
||||
|
||||
if (wlan_vdev_mlme_is_mlo_vdev(vdev)) {
|
||||
mlo_debug("Vdev: %d", wlan_vdev_get_id(vdev));
|
||||
if (wlan_cm_is_vdev_disconnected(vdev)) {
|
||||
mlo_free_copied_conn_req(sta_ctx);
|
||||
mlo_handle_sta_link_connect_failure(vdev, rsp);
|
||||
return;
|
||||
} else if (!wlan_cm_is_vdev_connected(vdev)) {
|
||||
|
Viittaa uudesa ongelmassa
Block a user