summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/hciconfig.c4
-rw-r--r--tools/hcitool.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index 96d4c7b4..21f7bc1c 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -98,7 +98,9 @@ void print_dev_features(struct hci_dev_info *di, int format)
di->features[0], di->features[1],
di->features[2], di->features[3] );
} else {
- printf("\tFeatures:\n%s\n",
+ printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n%s\n",
+ di->features[0], di->features[1],
+ di->features[2], di->features[3],
lmp_featurestostr(di->features, "\t\t", 3));
}
}
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));
}