Change-Id: I01019394088299dd329ba5880be8b58aa3afca05
Signer-off-by: Deokhyun Kim <dukan.kim@samsung.com>
BT_CHECK_INPUT_PARAMETER(bus_name);
BT_CHECK_INPUT_PARAMETER(object_path);
- error_code = bluetooth_rfcomm_create_socket_ex(uuid, bus_name, object_path);
+ error_code = _bt_get_error_code(bluetooth_rfcomm_create_socket_ex(uuid, bus_name, object_path));
if (error_code != BT_ERROR_NONE) {
BT_ERR("%s(0x%08x)", _bt_convert_error_to_string(error_code),
error_code);