Fix : profile UUID mismatch 38/230238/1
authorSangki Park <sangki79.park@samsung.com>
Fri, 3 Apr 2020 01:58:02 +0000 (10:58 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 9 Apr 2020 01:19:31 +0000 (10:19 +0900)
[Model] ALL
[BinType] AP
[Customer] ALL

[Issue#] Internal
[Request] N/A
[Occurrence Version] N/A

[Problem] N/A
[Cause & Measure] N/A
[Checking Method] N/A

[Team] Bluetooth
[Developer] Sangki Park
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I0cbad849f37762b89ea156e0b25f925562dce4a7

bt-oal/bluez_hal/src/bt-hal-avrcp-tg-dbus-handler.c

index de35ec1..5989b83 100644 (file)
@@ -603,10 +603,10 @@ bt_status_t _bt_hal_dbus_handler_avrcp_tg_disconnect(bt_bdaddr_t *bd_addr)
        }
        _bt_hal_convert_addr_type_to_string(address, bd_addr->address);
 
-       ret = _bt_hal_disconnect_profile(address, AVRCP_TARGET_UUID,
+       ret = _bt_hal_disconnect_profile(address, AVRCP_CTRL_UUID,
                        __bt_avrcp_tg_disconnect_cb, address);
        if (ret != BT_HAL_ERROR_NONE) {
-               ERR("_bt_hal_connect_profile(AVRCP Target) Error");
+               ERR("_bt_hal_disconnect_profile(AVRCP Target) Error");
                return BT_STATUS_FAIL;
        }