summaryrefslogtreecommitdiffstats
path: root/binding/bluetooth-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'binding/bluetooth-api.c')
-rw-r--r--binding/bluetooth-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binding/bluetooth-api.c b/binding/bluetooth-api.c
index f594cca..48bc460 100644
--- a/binding/bluetooth-api.c
+++ b/binding/bluetooth-api.c
@@ -985,7 +985,7 @@ static void bluetooth_connect_device(afb_req_t request)
/* optional, connect single profile */
uuid = afb_req_value(request, "uuid");
- cw = call_work_create(ns, "device", device,
+ cw = call_work_create(ns, BLUEZ_AT_DEVICE, device,
"connect_service", "Connect", &error);
if (!cw) {
afb_req_fail_f(request, "failed", "can't queue work %s",
@@ -1099,7 +1099,7 @@ static void bluetooth_pair_device(afb_req_t request)
return;
}
- cw = call_work_create(ns, "device", device,
+ cw = call_work_create(ns, BLUEZ_AT_DEVICE, device,
"pair_device", "Pair", &error);
if (!cw) {
afb_req_fail_f(request, "failed", "can't queue work %s",