summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-02-22 02:37:49 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-02-22 02:37:49 +0000
commitdb01d7596aa2ba2e40df5d3c7ef9b7cd0489ecad (patch)
treef9dca967817defdb59e2a86e193eb398da2f52b6 /src
parentce742d95634d8a666a0f4df610c8eac4419d7716 (diff)
The transmit power level is a signed integer
Diffstat (limited to 'src')
-rw-r--r--src/hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci.c b/src/hci.c
index 82bdbffc..83f09d9f 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -1491,7 +1491,7 @@ int hci_write_afh_mode(int dd, uint8_t mode, int to)
return 0;
}
-int hci_read_transmit_power_level(int dd, uint16_t handle, uint8_t type, uint8_t *level, int to)
+int hci_read_transmit_power_level(int dd, uint16_t handle, uint8_t type, int8_t *level, int to)
{
read_transmit_power_level_cp cp;
read_transmit_power_level_rp rp;