wlan: send correct rssi value while sending batch scan results.
Add correct data-type for rssi variable, to provide correct rssi
value to upper layer, while populating btach scan results.
Change-Id: I824f1a41680a5458cbaa115885b17925a209a38b
CRs-fixed: 665851.
diff --git a/CORE/HDD/inc/wlan_hdd_main.h b/CORE/HDD/inc/wlan_hdd_main.h
index 61f60e8..18d7dee 100644
--- a/CORE/HDD/inc/wlan_hdd_main.h
+++ b/CORE/HDD/inc/wlan_hdd_main.h
@@ -813,7 +813,7 @@
/*Channel*/
tANI_U8 ch;
/*RSSI or Level*/
- tANI_U8 rssi;
+ tANI_S8 rssi;
/*Age*/
tANI_U32 age;
}tHDDbatchScanRspApInfo;
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h
index 8c863b9..8b8bd0c 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -4689,7 +4689,7 @@
tANI_U8 bssid[6]; /* BSSID */
tANI_U8 ssid[33]; /* SSID */
tANI_U8 ch; /* Channel */
- tANI_U8 rssi; /* RSSI or Level */
+ tANI_S8 rssi; /* RSSI or Level */
/*Timestamp when Network was found. Used to calculate age based on timestamp
in GET_RSP msg header */
tANI_U32 timestamp;