summaryrefslogtreecommitdiffstats
path: root/tools/hcitool.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hcitool.c')
-rw-r--r--tools/hcitool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hcitool.c b/tools/hcitool.c
index 4ae4226d..88c320b6 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -888,8 +888,8 @@ static void cmd_spinq(int dev_id, int argc, char **argv)
memset(&cp, 0, sizeof(cp));
memcpy(cp.lap, lap, 3);
- cp.max_period = 16;
- cp.min_period = 10;
+ cp.max_period = htobs(16);
+ cp.min_period = htobs(10);
cp.length = 8;
cp.num_rsp = 0;