qcacld-2.0: Return the cached rssi in get_station during roaming

prima to qcacld-2.0 propagation

Currently, if get_station is called during roaming, host does
not send the correct rssi.Because of this, supplicant reports
very low rssi to upper layer and handover happens to cellular.
To mitigate this issue, send the cached rssi when get_station
is queried during roaming.
Change-Id: Icceb5839503ccd99e7aef535ee438d072d3a8823
CRs-Fixed: 1055388
This commit is contained in:
Sachin Ahuja 2016-08-25 11:47:50 +05:30 committed by syphyr
parent 564777f25d
commit d19d35ac44

View file

@ -18132,6 +18132,7 @@ static int __wlan_hdd_cfg80211_get_station(struct wiphy *wiphy,
if (true == pHddStaCtx->hdd_ReassocScenario) {
hddLog(LOG1,
FL("Roaming is in progress, cannot continue with this request"));
sinfo->signal = pAdapter->rssi;
return 0;
}