diff options
| author | Edhar, Mahesh Kumar <c_medhar@qti.qualcomm.com> | 2014-08-01 10:27:20 +0530 |
|---|---|---|
| committer | Pitani Venkata Rajesh Kumar <c_vpitan@qti.qualcomm.com> | 2014-08-08 10:37:39 +0530 |
| commit | 0124d4a64da427060ee93f7ef43d0dd80d5b7937 (patch) | |
| tree | ffcc312d7d357d0bade9cf4e8b312c2680b65528 | |
| parent | 850cc8ed4c01eb51596e3356b7bf1806aaaff51b (diff) | |
Revert "wlan: Get stats from firmware irrespective of link-speed configuration"
This reverts Change-Id: Ib30f37be42f25ac17975b607404c0e9472ef97d3.
Change-Id: I305ff6902b60e273e2a908093eb049ee36e47bdd
CRs-Fixed: 703136
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index 4bb4c60b2305..d345db274f19 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -10530,14 +10530,13 @@ static int __wlan_hdd_cfg80211_get_station(struct wiphy *wiphy, } #endif - wlan_hdd_get_station_stats(pAdapter); - rate_flags = pAdapter->hdd_stats.ClassA_stat.tx_rate_flags; - - /*overwrite rate_flags if MAX link-speed need to be reported*/ if ((eHDD_LINK_SPEED_REPORT_MAX == pCfg->reportMaxLinkSpeed) || (eHDD_LINK_SPEED_REPORT_MAX_SCALED == pCfg-> reportMaxLinkSpeed && sinfo->signal >= pCfg->linkSpeedRssiHigh)) { rate_flags = pAdapter->maxRateFlags; + } else { + wlan_hdd_get_station_stats(pAdapter); + rate_flags = pAdapter->hdd_stats.ClassA_stat.tx_rate_flags; } //convert to the UI units of 100kbps |
