diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-02-05 20:16:38 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-02-05 20:16:38 -0800 |
commit | 06e9ad1e95561e36c608c33263055e86836a0701 (patch) | |
tree | 1d2bdd81d617cff15271a12c929c099bfb1629e0 /tools/hciconfig.c | |
parent | 12b7f844c0ca920c79ea0582fea5d610eb074c19 (diff) | |
download | bluez-06e9ad1e95561e36c608c33263055e86836a0701.tar.gz |
The TX power level is a signed int and not an unsigned int
Diffstat (limited to 'tools/hciconfig.c')
-rw-r--r-- | tools/hciconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c index 593a6440d..1b0ae680a 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -1127,7 +1127,7 @@ static void cmd_inq_data(int ctl, int hdev, char *opt) } break; case 0x0a: - printf("\tTX power level: %d\n", *((uint8_t *) ptr)); + printf("\tTX power level: %d\n", *((int8_t *) ptr)); break; case 0x10: printf("\tDevice ID with %d bytes data\n", |