summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/hciconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index a247e29d..6f9dc4ca 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -570,7 +570,7 @@ void cmd_page_to(int ctl, int hdev, char *opt)
unsigned int timeout;
write_page_timeout_cp cp;
- if (sscanf(opt,"%4u", &timeout) != 1) {
+ if (sscanf(opt,"%5u", &timeout) != 1) {
printf("Invalid argument format\n");
exit(1);
}