summaryrefslogtreecommitdiff
path: root/tools/hciconfig.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2011-12-08 10:54:37 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2011-12-08 11:39:40 +0200
commitefe0957092da40ed9973f023a6886fa7f83264d7 (patch)
treea026db4efcf87930ad26f11ce8a8379786639c2a /tools/hciconfig.c
parentf54e13dd83a1e53bfc6bbc870980a33010a8ed9f (diff)
downloadbluez-efe0957092da40ed9973f023a6886fa7f83264d7.tar.gz
hciconfig: Print features for AMP devices
Check for HCI device type, the magic shift is due to dev type is packed to dev_info type.
Diffstat (limited to 'tools/hciconfig.c')
-rw-r--r--tools/hciconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index 35b80b195..a7249db0d 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -1870,7 +1870,7 @@ static void print_dev_info(int ctl, struct hci_dev_info *di)
st->byte_tx, st->acl_tx, st->sco_tx, st->cmd_tx, st->err_tx);
if (all && !hci_test_bit(HCI_RAW, &di->flags) &&
- bacmp(&di->bdaddr, BDADDR_ANY)) {
+ (bacmp(&di->bdaddr, BDADDR_ANY) || (di->type >> 4))) {
print_dev_features(di, 0);
print_pkt_type(di);
print_link_policy(di);