qcacld-3.0: Do not reset roam invoke in progress in default case

Do not reset roam invoke in progress in default switch
case.

Change-Id: I3f1bb9f78bb7d23e72973e6e6977b42387755e71
CRs-Fixed: 2465090
This commit is contained in:
gaurank kathpalia 2019-06-04 16:57:54 +05:30 committed by nshrivas
parent bf933ff252
commit f40cedc066
2 changed files with 2 additions and 2 deletions

View File

@ -224,6 +224,7 @@ hdd_handle_nud_fail_sta(struct hdd_context *hdd_ctx,
struct hdd_adapter *adapter)
{
struct reject_ap_info ap_info;
struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
qdf_mutex_acquire(&adapter->disconnection_status_lock);
if (adapter->disconnection_in_progress) {
@ -241,7 +242,7 @@ hdd_handle_nud_fail_sta(struct hdd_context *hdd_ctx,
hdd_debug("nud fail detected, try roaming to better BSSID, vdev id: %d",
adapter->vdev_id);
ap_info.bssid = adapter->mac_addr;
ap_info.bssid = sta_ctx->conn_info.bssid;
ap_info.reject_ap_type = DRIVER_AVOID_TYPE;
ucfg_blm_add_bssid_to_reject_list(hdd_ctx->pdev, &ap_info);

View File

@ -21735,7 +21735,6 @@ static QDF_STATUS csr_process_roam_sync_callback(struct mac_context *mac_ctx,
goto end;
default:
sme_debug("LFR3: callback reason %d", reason);
vdev_roam_params->roam_invoke_in_progress = false;
status = QDF_STATUS_E_FAILURE;
goto end;
}