wlan: Get proper rssi in WLANTL_HSGetRSSI.
Currently both rssi0 and rssi1 are both pointing
to same value.As a result current is always rssi1.
As a part of fix made sure that rssi0 and rssi1
points to proper value.
Change-Id: Ia19b9cf4f6330d99a551325198ccfc2faf4ef505
CRs-Fixed: 773639
diff --git a/CORE/TL/src/wlan_qct_tl_hosupport.c b/CORE/TL/src/wlan_qct_tl_hosupport.c
index 03f213b..4a9c7a9 100644
--- a/CORE/TL/src/wlan_qct_tl_hosupport.c
+++ b/CORE/TL/src/wlan_qct_tl_hosupport.c
@@ -851,7 +851,7 @@
currentHO = &tlCtxt->hoSupport.currentHOState;
currentRSSI0 = WLANTL_GETRSSI0(pBDHeader);
- currentRSSI1 = WLANTL_GETRSSI0(pBDHeader);
+ currentRSSI1 = WLANTL_GETRSSI1(pBDHeader);
currentRSSI = (currentRSSI0 > currentRSSI1) ? currentRSSI0 : currentRSSI1;
if (0 == currentRSSI)