diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 6a821fa96071..d9495e3cec9b 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -13530,10 +13530,8 @@ QDF_STATUS sme_fast_reassoc(mac_handle_t mac_handle, } roam_profile = session->pCurRoamProfile; - if (roam_profile->supplicant_disabled_roaming || - roam_profile->driver_disabled_roaming) { - sme_debug("roaming status in Supplicant %d and in driver %d", - roam_profile->supplicant_disabled_roaming, + if (roam_profile->driver_disabled_roaming) { + sme_debug("roaming status in driver %d", roam_profile->driver_disabled_roaming); return QDF_STATUS_E_FAILURE; } diff --git a/core/sme/src/csr/csr_neighbor_roam.c b/core/sme/src/csr/csr_neighbor_roam.c index 6b120d72c862..235549e50273 100644 --- a/core/sme/src/csr/csr_neighbor_roam.c +++ b/core/sme/src/csr/csr_neighbor_roam.c @@ -141,8 +141,8 @@ QDF_STATUS csr_neighbor_roam_update_fast_roaming_enabled(struct mac_context *mac REASON_CONNECT); } else { csr_roam_offload_scan(mac_ctx, session_id, - ROAM_SCAN_OFFLOAD_STOP, - REASON_DISCONNECTED); + ROAM_SCAN_OFFLOAD_STOP, + REASON_SUPPLICANT_DISABLED_ROAMING); } sme_release_global_lock(&mac_ctx->sme); }