summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajeev Kumar <rajekuma@qca.qualcomm.com>2014-06-10 18:05:39 -0700
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-06-13 11:49:44 -0700
commit8c06542530aff92a1c0972746ea0943817ec1fc3 (patch)
tree460d6c1ea29bb43ebed1a17e2fb0defcfeff3496
parent15c88174ff58c4c22ccf9713845e1eb35c168743 (diff)
qcacld: 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: If77cfec02da3b55662c7dea810585f67aa39895b CRs-fixed: 678422
-rw-r--r--CORE/HDD/inc/wlan_hdd_main.h2
-rw-r--r--CORE/MAC/inc/sirApi.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/CORE/HDD/inc/wlan_hdd_main.h b/CORE/HDD/inc/wlan_hdd_main.h
index ae51a1887393..a1e74a3bf030 100644
--- a/CORE/HDD/inc/wlan_hdd_main.h
+++ b/CORE/HDD/inc/wlan_hdd_main.h
@@ -868,7 +868,7 @@ typedef struct
/*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 bad0f8e52465..f478bdc4b0d0 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -4753,7 +4753,7 @@ typedef PACKED_PRE struct PACKED_POST
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;