summaryrefslogtreecommitdiff
path: root/tools/oobtest.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-03-16 21:51:35 -0700
committerMarcel Holtmann <marcel@holtmann.org>2015-03-16 22:00:54 -0700
commit8f07b9df5c3481a14b4bdb1a7975c6672355bc26 (patch)
tree2e8e396d4041087e88bd14f1cf2428fb24db5e37 /tools/oobtest.c
parent38c7cd663afc623a857579597753c7690e5f011c (diff)
downloadbluez-8f07b9df5c3481a14b4bdb1a7975c6672355bc26.tar.gz
tools: Fix minor typo in OOB extended data parsing
Diffstat (limited to 'tools/oobtest.c')
-rw-r--r--tools/oobtest.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/oobtest.c b/tools/oobtest.c
index 42d6fa3c7..e967de7e7 100644
--- a/tools/oobtest.c
+++ b/tools/oobtest.c
@@ -417,13 +417,11 @@ static void read_oob_ext_data_complete(uint8_t status, uint16_t len,
char str[18];
ba2str((bdaddr_t *) (eir + 2), str);
-
- printf(" Device address: %s\n", str);
- printf(" Device type: %s\n",
- eir[8] ? "random" : "public");
+ printf(" Device address: %s (%s)\n", str,
+ eir[8] ? "random" : "public");
}
- /* LE Bluetooth Device Address */
+ /* LE Role */
if (eir[1] == 0x1c)
printf(" Role: 0x%02x\n", eir[2]);