From 4ee1f291862c7bc69e5099908f5f5dd619921975 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 31 Jan 2005 05:45:39 +0000 Subject: Don't show extended information for raw devices --- tools/hciconfig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit