diff options
Diffstat (limited to 'tools/hcitool.c')
| -rw-r--r-- | tools/hcitool.c | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/tools/hcitool.c b/tools/hcitool.c index 75fbc8e2..49cc6fe6 100644 --- a/tools/hcitool.c +++ b/tools/hcitool.c @@ -905,9 +905,11 @@ static void cmd_info(int dev_id, int argc, char **argv)  	}  	if ((di.features[7] & LMP_EXT_FEAT) && (features[7] & LMP_EXT_FEAT)) { -		if (hci_read_remote_ext_features(dd, handle, 0, &max_page, features, 20000) == 0) +		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); +				printf("\tExtended features: %d page%s\n", +					max_page, max_page > 1 ? "s" : "");  	}  	if (cc) { | 
