qcacld-3.0: Do not send reassoc failure in case of no hw_mode change

In roaming scenario when there is no hw_mode change is required, roam
failure is sent to CSR which is causing move VDEV from INIT state to
EV_DOWN. In this case, wma_target_req buffer expected instead of
scheduler_msg. As the wrong buffer is passed, it is causing a
system instability.

Fix is not to send reassoc failure for LFR2 when there is
no change in hw_mode required and go ahead with connect.

Change-Id: I7cc7b0ee1407e04c47177838fc069db5b90353d7
CRs-Fixed: 2451178
This commit is contained in:
Nirav Shah 2019-05-13 19:27:16 +05:30 • committed by nshrivas
commit 4e6451fe9d

View file

@ -9617,7 +9617,7 @@ void csr_handle_disassoc_ho(struct mac_context *mac, uint32_t session_id)
qdf_mem_free(scan_filter);
qdf_mem_free(roam_info);
return;
} else if (status != QDF_STATUS_E_NOSUPPORT)
} else if (status == QDF_STATUS_E_FAILURE)
goto POST_ROAM_FAILURE;
status = csr_roam_lfr2_issue_connect(mac, session_id,