diff options
Diffstat (limited to 'binding-bluetooth/bluetooth-api.c')
-rw-r--r-- | binding-bluetooth/bluetooth-api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binding-bluetooth/bluetooth-api.c b/binding-bluetooth/bluetooth-api.c index 4a7092a..78fd87b 100644 --- a/binding-bluetooth/bluetooth-api.c +++ b/binding-bluetooth/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); |