diff options
| author | Srinivas Girigowda <sgirigow@qca.qualcomm.com> | 2015-02-12 15:29:22 -0800 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2015-02-23 15:07:35 +0530 |
| commit | ebf627633d2df059f4579cac6664bd4458c2af51 (patch) | |
| tree | 882f23a2bafb080f98699d36243159d19e3edda0 | |
| parent | 2650bc047b97667c60e69edfdbf57ef5c09cad57 (diff) | |
qcacld-2.0: Fix roaming latency caused by cfg80211_get_station
This is prima to qcacld-2.0 propagation.
While roaming is going on, Framework initiate
cfg80211_get_station to collect station statistic,
Which in turn block the call or wait for time-out.
This can be overcome by avoiding cfg80211_get_station
if it is triggered in between the Roaming to reduce
the roaming latency.
Change-Id: Ib8ea6ffd7b4656cc4bcd50b8dfd03b55f1729991
CRs-Fixed: 795316
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index 02b925b461a2..f66d452581ed 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -12861,6 +12861,12 @@ static int __wlan_hdd_cfg80211_get_station(struct wiphy *wiphy, return 0; } + if (true == pHddStaCtx->hdd_ReassocScenario) { + hddLog(LOG1, + FL("Roaming is in progress, cannot continue with this request")); + return 0; + } + status = wlan_hdd_validate_context(pHddCtx); if (0 != status) |
