aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--binding-bluetooth/bluetooth-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binding-bluetooth/bluetooth-api.c b/binding-bluetooth/bluetooth-api.c
index 79cebee..b454277 100644
--- a/binding-bluetooth/bluetooth-api.c
+++ b/binding-bluetooth/bluetooth-api.c
@@ -537,7 +537,7 @@ static void bt_disconnect (struct afb_req request)
return;
}
- ret = device_disconnect(value, NULL);
+ ret = device_disconnect(value, uuid);
if (0 == ret)
{
json_object *jresp = json_object_new_object();