From 7fbea8e4421d04d23747ad4dbcc31aa2d10e0c74 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 18 Nov 2003 11:38:31 +0000 Subject: Display all 8 bytes of the features --- tools/hciconfig.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tools/hciconfig.c') diff --git a/tools/hciconfig.c b/tools/hciconfig.c index 932ec4e7..ee7afb75 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -97,13 +97,17 @@ void print_link_mode(struct hci_dev_info *di) void print_dev_features(struct hci_dev_info *di, int format) { if (!format) { - printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n", + printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n", di->features[0], di->features[1], - di->features[2], di->features[3] ); + di->features[2], di->features[3], + di->features[4], di->features[5], + di->features[6], di->features[7] ); } else { - printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n%s\n", + printf("\tFeatures: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x 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], + di->features[4], di->features[5], + di->features[6], di->features[7], lmp_featurestostr(di->features, "\t\t", 3)); } } -- cgit