|
@@ -17857,6 +17857,14 @@ csr_roam_offload_scan(tpAniSirGlobal mac_ctx, uint8_t session_id,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
+ if ((ROAM_SCAN_OFFLOAD_START == command &&
|
|
|
+ REASON_CTX_INIT != reason) &&
|
|
|
+ (session->pCurRoamProfile &&
|
|
|
+ session->pCurRoamProfile->do_not_roam)) {
|
|
|
+ sme_debug("Supplicant disabled driver roaming");
|
|
|
+ return QDF_STATUS_E_FAILURE;
|
|
|
+ }
|
|
|
+
|
|
|
if (0 == csr_roam_is_roam_offload_scan_enabled(mac_ctx)) {
|
|
|
sme_err("isRoamOffloadScanEnabled not set");
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
@@ -20128,6 +20136,9 @@ QDF_STATUS csr_roam_synch_callback(tpAniSirGlobal mac_ctx,
|
|
|
session->roam_synch_in_progress = false;
|
|
|
policy_mgr_check_concurrent_intf_and_restart_sap(mac_ctx->psoc);
|
|
|
sme_release_global_lock(&mac_ctx->sme);
|
|
|
+ csr_roam_offload_scan(mac_ctx, session_id,
|
|
|
+ ROAM_SCAN_OFFLOAD_START,
|
|
|
+ REASON_CONNECT);
|
|
|
return status;
|
|
|
default:
|
|
|
sme_err("LFR3: callback reason %d", reason);
|