summaryrefslogtreecommitdiffstats
path: root/binding-bluetooth
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-06-28 20:24:13 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-06-30 13:28:43 -0700
commit3b897f7020f828bec674a66b545052c32c519f2a (patch)
treeb70f5a4be4d88dcccd820de235e3313001b1d180 /binding-bluetooth
parentc6c94220fa7a1311cb60a01d4f009fb559d3b720 (diff)
binding: bluetooth: fix missed uuid in device_disconnect call
UUID if defined wasn't being passed to the device_disconnect function call resulting in a total device disconnect. Bug-AGL: SPEC-714 Change-Id: I04f0fcdfae703aaea90a4bf7b17ea0354a3ab845 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding-bluetooth')
-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();