Merge "A2DP profile multiple source support" into tizen
[platform/core/connectivity/bluetooth-frwk.git] / test / gatt-test / bluetooth-gatt-test.c
old mode 100644 (file)
new mode 100755 (executable)
index 6b179d5..cb7ef22
@@ -28,8 +28,6 @@
 #include <stdint.h>
 #include <string.h>
 #include <glib.h>
-#include <gio/gio.h>
-
 #include "bluetooth-api.h"
 
 
@@ -132,7 +130,7 @@ static void __accept_bdaddress(bluetooth_device_address_t *device_address)
 
        addr = get_bd_from_file(BD_ADDR_FILE);
        if (addr) {
-               TC_PRT("Remote bd adress from file: %s", addr);
+               TC_PRT("Remote bd address from file: %s", addr);
                convert_addr_string_to_addr_type(device_address, addr);
                g_free(addr);
                return;
@@ -218,6 +216,8 @@ void startup()
 {
        TC_PRT("bluetooth framework TC startup");
 
+       dbus_threads_init_default();
+
        main_loop = g_main_loop_new(NULL, FALSE);
 }