diff options
| author | mukul sharma <mukul@qti.qualcomm.com> | 2015-06-23 21:23:23 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-06-25 08:15:22 -0700 |
| commit | 97f3172d4cafdf1f2af7e6f115f56039c4d38ecd (patch) | |
| tree | 0cc0e71cc193c338272757a70c64ab02bbd618b8 | |
| parent | 6e9eb1e1f4502474e7af872669b35259495a9ef8 (diff) | |
qcacld-2.0: Fix roaming latency caused by dump survey ops
prima to qcacld-2.0 propagation
Framework may initiate dump survey ops while roaming is
in middle, Which in turn block the call or wait for
timeout hence introducing roaming delay.
This delay can be overcome by avoiding dump survey ops
if it is triggered in between the roaming.
Change-Id: Ib3dbfb01b8b4e14b338efc7bf8747cd775b38a5e
CRs-Fixed: 852558
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index f8fea0865539..713bd953acfc 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -20011,6 +20011,13 @@ static int __wlan_hdd_cfg80211_dump_survey(struct wiphy *wiphy, return -ENONET; } + if (VOS_TRUE == pHddStaCtx->hdd_ReassocScenario) + { + VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, + "%s: Roaming in progress, hence return ", __func__); + return -ENONET; + } + halHandle = WLAN_HDD_GET_HAL_CTX(pAdapter); wlan_hdd_get_snr(pAdapter, &snr); |
