summaryrefslogtreecommitdiffstats
path: root/tools/hcitool.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hcitool.c')
-rw-r--r--tools/hcitool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hcitool.c b/tools/hcitool.c
index e02cb93f..0b35b1ac 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -825,7 +825,7 @@ static void cmd_info(int dev_id, int argc, char **argv)
lmp_featurestostr(features, "\t\t", 63));
}
- if (features[7] & 0x80) {
+ if (features[7] & LMP_EXT_FEAT) {
if (hci_read_remote_ext_features(dd, handle, 0, &max_page, features, 20000) == 0)
if (max_page > 0)
printf("\tExtended features: %d pages\n", max_page);