summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-04-18 21:09:59 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-04-18 21:09:59 +0000
commitbb30c261fcdb833bf5cac02f671822bbe443ff27 (patch)
tree046be1d9930e43f90db015fcfe69310bd3f87117
parent089583df538a11302e504659e7652389fdfa9aeb (diff)
Use LMP_EXT_FEAT constant
-rw-r--r--tools/hciconfig.c2
-rw-r--r--tools/hcitool.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index a1232c6c..df9b211e 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -380,7 +380,7 @@ static void cmd_features(int ctl, int hdev, char *opt)
uint8_t max_page, features[8];
int i, dd;
- if (!(di.features[7] & 0x80)) {
+ if (!(di.features[7] & LMP_EXT_FEAT)) {
print_dev_hdr(&di);
print_dev_features(&di, 1);
return;
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);