mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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
This commit is contained in:
parent
2ce1af98e3
commit
95068d734f
1 changed files with 0 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue