summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-adapter.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-adapter.c')
-rw-r--r--hcid/dbus-adapter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index 2989536c..1c6213c4 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -2316,8 +2316,8 @@ static DBusHandlerResult handle_dev_start_periodic_req(DBusConnection *conn, DBu
memset(&cp, 0, sizeof(cp));
memcpy(&cp.lap, lap, 3);
- cp.max_period = 24;
- cp.min_period = 16;
+ cp.max_period = htobs(24);
+ cp.min_period = htobs(16);
cp.length = 0x08;
cp.num_rsp = 0x00;