Merge branch 'master' into tizen_2.1
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / bt-service-hid.c
index 4b7a829..bf76219 100644 (file)
@@ -174,7 +174,7 @@ int _bt_hid_connect(int request_id,
        DBusGProxy *hid_proxy;
        DBusGConnection *conn;
 
-       BT_CHECK_PARAMETER(device_address);
+       BT_CHECK_PARAMETER(device_address, return);
 
        adapter_proxy = _bt_get_adapter_proxy();
        retv_if(adapter_proxy == NULL, BLUETOOTH_ERROR_INTERNAL);
@@ -223,7 +223,7 @@ int _bt_hid_disconnect(int request_id,
        DBusGProxy *hid_proxy;
        DBusGConnection *conn;
 
-       BT_CHECK_PARAMETER(device_address);
+       BT_CHECK_PARAMETER(device_address, return);
 
        adapter_proxy = _bt_get_adapter_proxy();
        retv_if(adapter_proxy == NULL, BLUETOOTH_ERROR_INTERNAL);