summaryrefslogtreecommitdiffstats
path: root/bluetooth-api.c
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-06-01 15:37:25 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-06-01 16:24:33 -0700
commit8ee62398d467a4031a4307199687812f5105e500 (patch)
treef512d9106e22a4dab9c3d6932384d421e22069c3 /bluetooth-api.c
parente0d6d332bdb69e4635abfbe00e340211eb8c967a (diff)
binding: bluetooth: allow connection to select uuid profiles
Currenly the bluetooth binding connects to all available bluetooth profiles. This change allows you select an singular profile. Change-Id: Iccb016f132e0690699eefddee637ad91ea69e69c Bug-AGL: SPEC-638 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'bluetooth-api.c')
-rw-r--r--bluetooth-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bluetooth-api.c b/bluetooth-api.c
index 4a7092a..78fd87b 100644
--- a/bluetooth-api.c
+++ b/bluetooth-api.c
@@ -476,7 +476,7 @@ static void bt_connect (struct afb_req request)
return;
}
- ret = device_connect(value);
+ ret = device_connect(value, NULL);
if (0 == ret)
{
@@ -503,7 +503,7 @@ static void bt_disconnect (struct afb_req request)
return;
}
- ret = device_disconnect(value);
+ ret = device_disconnect(value, NULL);
if (0 == ret)
{
afb_req_success (request, NULL, NULL);