From 95068d734f1c9d1f457ac832bb78b8a598d7667b Mon Sep 17 00:00:00 2001 From: gaurank kathpalia Date: Thu, 12 Mar 2020 13:07:21 +0530 Subject: [PATCH] qcacld-3.0: Ignore roaming in progress in start bss Currently the hotspot fail happens if the roaming is in progress because of the check in start bss. Ignore it and just do disable roaming to the FW. If the roaming was in progress, it would disable it, or it would do a disconnect if the EAPOL was in progress. This is done to enable the hotspot as connect would be taken care by the supplicant automatically, but the hotspot needs user intervention. Change-Id: I0030f9affe60c064d490795be92ae035923738aa CRs-Fixed: 2640136 --- core/hdd/src/wlan_hdd_hostapd.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index ce654ca11330..3509e97c2d46 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -5086,17 +5086,7 @@ int wlan_hdd_cfg80211_start_bss(struct hdd_adapter *adapter, */ hdd_abort_ongoing_sta_connection(hdd_ctx); - /* - * Reject start bss if reassoc in progress on any adapter. - * sme_is_any_session_in_middle_of_roaming is for LFR2 and - * hdd_is_roaming_in_progress is for LFR3 - */ mac_handle = hdd_ctx->mac_handle; - if (sme_is_any_session_in_middle_of_roaming(mac_handle) || - hdd_is_roaming_in_progress(hdd_ctx)) { - hdd_info("Reassociation in progress"); - return -EINVAL; - } /* Disable Roaming on all adapters before starting bss */ wlan_hdd_disable_roaming(adapter, RSO_START_BSS);