summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-07-10 11:28:03 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-07-10 11:28:03 +0000
commit0320edae7f734cbc1ad02b6221650ca577b46bc7 (patch)
treeed0fbe37b6bc21060c71a9ec384d79c124057bd3 /include
parent0c8f74212a5345507db372c9ba78c63000971f89 (diff)
The RSSI value is signed and not unsigned
Diffstat (limited to 'include')
-rw-r--r--include/hci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hci.h b/include/hci.h
index f498b16d..6cc7e4bd 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -971,7 +971,7 @@ typedef struct {
uint8_t pscan_period_mode;
uint8_t dev_class[3];
uint16_t clock_offset;
- uint8_t rssi;
+ int8_t rssi;
} __attribute__ ((packed)) inquiry_info_with_rssi;
#define INQUIRY_INFO_WITH_RSSI_SIZE 14