Merge "qcacld-3.0: Send RSO command (any type) only in connected state" into wlan-cld3.driver.lnx.2.0
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
5ad6e8532c
@@ -19506,6 +19506,12 @@ csr_roam_offload_scan(struct mac_context *mac_ctx, uint8_t session_id,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
if (!csr_is_conn_state_connected(mac_ctx, session_id) &&
|
||||
command == ROAM_SCAN_OFFLOAD_UPDATE_CFG) {
|
||||
sme_debug("Session not in connected state, RSO not sent");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
temp_session_id = csr_get_roam_enabled_sta_sessionid(mac_ctx);
|
||||
if ((temp_session_id != WLAN_UMAC_VDEV_ID_MAX) &&
|
||||
(session_id != temp_session_id)) {
|
||||
|
Reference in New Issue
Block a user