summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/hciconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index d24faf73..61e4d3cd 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -1099,7 +1099,8 @@ static void print_dev_info(int ctl, struct hci_dev_info *di)
printf("\tTX bytes:%d acl:%d sco:%d commands:%d errors:%d\n",
st->byte_tx, st->acl_tx, st->sco_tx, st->cmd_tx, st->err_tx);
- if (all) {
+ if (all && !hci_test_bit(HCI_RAW, &di->flags) &&
+ bacmp(&di->bdaddr, BDADDR_ANY)) {
print_dev_features(di, 0);
print_pkt_type(di);
print_link_policy(di);