Commit f9d4e5b6 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Marcel Holtmann

[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: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 9824f3e5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment