diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index 8ec1e8a..17c740b 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
exit(1);
}
+ if (max_page < 1 && (features[6] & LMP_SIMPLE_PAIR))
+ max_page = 1;
+
print_dev_hdr(&di);
printf("\tFeatures%s: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x "
"0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n",
diff --git a/tools/hcitool.c b/tools/hcitool.c
index 648a0f7..0bd416f 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
hci_read_remote_ext_features(dd, handle, 0, &max_page,
features, 20000);
+ if (max_page < 1 && (features[6] & LMP_SIMPLE_PAIR))
+ max_page = 1;
+
printf("\tFeatures%s: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x "
"0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x\n",
(max_page > 0) ? " page 0" : "",