summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgaurank kathpalia <gkathpal@codeaurora.org>2020-03-17 15:15:29 +0530
committerIsaac Chiou <isaacchiou@google.com>2020-03-27 02:09:46 +0000
commitf78ab1191a40d33c276d0e1f37984ea1e5ebb593 (patch)
tree59203f074015769cade3552025cf179751bcef9a
parent38461bb953e9e23f155cc186c91f84ff8c23bd3c (diff)
downloadqcacld-f78ab1191a40d33c276d0e1f37984ea1e5ebb593.tar.gz
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. Bug: 150834409 Change-Id: I0030f9affe60c064d490795be92ae035923738aa CRs-Fixed: 2640136
-rw-r--r--core/hdd/src/wlan_hdd_hostapd.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c
index 9018e2323b..a8138348c4 100644
--- a/core/hdd/src/wlan_hdd_hostapd.c
+++ b/core/hdd/src/wlan_hdd_hostapd.c
@@ -8015,18 +8015,6 @@ int wlan_hdd_cfg80211_start_bss(hdd_adapter_t *pHostapdAdapter,
}
/*
- * 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
- */
- if (sme_is_any_session_in_middle_of_roaming(hHal) ||
- hdd_is_roaming_in_progress(pHddCtx)) {
- hdd_info("Reassociation in progress");
- ret = -EINVAL;
- goto ret_status;
- }
-
- /*
* Disable Roaming on all adapters before starting bss
*/
wlan_hdd_disable_roaming(pHostapdAdapter);