diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-01-31 05:45:39 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-01-31 05:45:39 +0000 |
commit | 4ee1f291862c7bc69e5099908f5f5dd619921975 (patch) | |
tree | 686b17eb390ea629cf8c23d30dfd86f88fa40266 /tools | |
parent | 591e892366b6ccf2d7c765c47741794cb8a30e42 (diff) |
Don't show extended information for raw devices
Diffstat (limited to 'tools')
-rw-r--r-- | tools/hciconfig.c | 3 |
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); |