summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-02-22 02:41:02 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-02-22 02:41:02 +0000
commit05ec11bf58edbacb68ebf4cd4b629df697224d6e (patch)
tree9a6fb8accf7f056afebd08de32137a4f23611d03
parent337a9c4da82ea321a6613dd7c44e451e681a4a4e (diff)
The transmit power level is a signed integer value
-rw-r--r--tools/hcitool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/hcitool.c b/tools/hcitool.c
index 766c084e..225977b7 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -959,7 +959,8 @@ static void cmd_tpl(int dev_id, int argc, char **argv)
{
struct hci_conn_info_req *cr;
bdaddr_t bdaddr;
- uint8_t type, level;
+ uint8_t type;
+ int8_t level;
int opt, dd;
for_each_opt(opt, tpl_options, NULL) {