summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlifeng <lifeng@codeaurora.org>2018-03-05 15:59:17 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-03-11 20:08:24 -0700
commit4110dc15d05838dff8200118c99170f76d45909e (patch)
tree639ffbfd39819335adde0d03955382345be49cf8
parent5b663417a583d1d1dd3b575f266f12d6f9be55e0 (diff)
qcacld-2.0: Set do_not_roam as false by default
The flag do_not_roam is set as ture when do connecting with bssid parameter from supplicant, it will forbid starting roam offload scan when do connecting with bssid_hint since the do_not_roam is NOT cleared. The fix is to set do_roam_flag as false by default, if the bssid parameter from supplicant is valid, then the flag will be marked as true as before. Change-Id: I09b41d20ed4441e8e163b836ff57cb79ef78d556 CRs-Fixed: 2202341
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index bd499fb78c5b..b93d51fe0fa4 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -22881,6 +22881,8 @@ int wlan_hdd_cfg80211_connect_start( hdd_adapter_t *pAdapter,
vos_mem_copy((void *)(pRoamProfile->SSIDs.SSIDList->SSID.ssId),
ssid, ssid_len);
+ pRoamProfile->do_not_roam = false;
+
/* cleanup bssid hint and bssid */
vos_mem_zero(pRoamProfile->bssid_hint, VOS_MAC_ADDR_SIZE);
vos_mem_zero(pRoamProfile->BSSIDs.bssid, VOS_MAC_ADDR_SIZE);