Message ID | 20240322143830.1476938-1-xiaokeqinhealth@126.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ] avctp: Remove redundant UUID checks and additions | expand |
diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c index 8ad146df1..6199ee951 100644 --- a/profiles/audio/avctp.c +++ b/profiles/audio/avctp.c @@ -1597,12 +1597,6 @@ static void avctp_confirm_cb(GIOChannel *chan, gpointer data) if (session == NULL) return; - if (btd_device_get_service(device, AVRCP_REMOTE_UUID) == NULL) - btd_device_add_uuid(device, AVRCP_REMOTE_UUID); - - if (btd_device_get_service(device, AVRCP_TARGET_UUID) == NULL) - btd_device_add_uuid(device, AVRCP_TARGET_UUID); - switch (psm) { case AVCTP_CONTROL_PSM: avctp_control_confirm(session, chan, device);
From: Xiao Yao <xiaoyao@rock-chips.com> --- profiles/audio/avctp.c | 6 ------ 1 file changed, 6 deletions(-)