[BT-frwk] Fix issue in the gdbus proxy call for Add remote oob data. 64/74764/1
authorSudha Bheemanna <b.sudha@samsung.com>
Wed, 15 Jun 2016 11:35:44 +0000 (17:05 +0530)
committerSudha Bheemanna <b.sudha@samsung.com>
Wed, 15 Jun 2016 11:35:44 +0000 (17:05 +0530)
Added missing brackets in the proxy call sisgnature which
causes failiure in the dbus proxy call to bluez.

Change-Id: I8b8ebabef5db4bac7287a3521005ba5f015dd56e
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
bt-service/bt-service-oob.c

index 2762813..def214c 100755 (executable)
@@ -181,7 +181,7 @@ int _bt_oob_add_remote_data(
 
        /* Call AddRemoteData Method*/
        reply = g_dbus_proxy_call_sync(proxy, "AddRemoteData",
-                       g_variant_new("s@ay@ay", dev_addr, hash, randomizer),
+                       g_variant_new("(s@ay@ay)", dev_addr, hash, randomizer),
                        G_DBUS_CALL_FLAGS_NONE, -1,
                        NULL, &err);
        g_object_unref(proxy);