summaryrefslogtreecommitdiffstats
path: root/tools/hcitool.c
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-04-22 20:16:27 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-04-22 20:16:27 +0000
commit98f6f92be002a098fb4f3b773939ab7c94834a0d (patch)
treeecce8d940a54100ced865e8a2f6d87e3c70aac7e /tools/hcitool.c
parent996b96baf78a1e77e94c08f391e00a8bc7822955 (diff)
Display feature bytes in hex
Diffstat (limited to 'tools/hcitool.c')
-rw-r--r--tools/hcitool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/hcitool.c b/tools/hcitool.c
index 35509f22..06c426ca 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -468,7 +468,8 @@ static void cmd_info(int dev_id, int argc, char **argv)
}
if (hci_read_remote_features(dd, handle, features, 20000) == 0) {
- printf("\tFeatures:\n%s\n",
+ printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n%s\n",
+ features[0], features[1], features[2], features[3],
lmp_featurestostr(features, "\t\t", 3));
}