summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-07-16 18:05:36 +0200
committerMarcel Holtmann <holtmann@holtmann.org>2004-07-16 18:05:36 +0200
commitf9d4e5b6599d9e0d2c3c86aa8220da28e91b554e (patch)
tree3ec86ccc5c85edb9b39a0a0027a189dd34d280f2 /include/net
parent9824f3e5ce6cf3aef6516e7042a11d15397dd58e (diff)
[Bluetooth] Use a signed integer for the RSSI value
The RSSI value in the inquiry response with RSSI must be a signed integer and not an unsigned one. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 8bdea57738b0..06e19d370efd 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -432,7 +432,7 @@ struct inquiry_info_with_rssi {
__u8 pscan_period_mode;
__u8 dev_class[3];
__u16 clock_offset;
- __u8 rssi;
+ __s8 rssi;
} __attribute__ ((packed));
#define HCI_EV_CONN_COMPLETE 0x03