All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] avctp: Remove redundant UUID checks and additions
@ 2024-03-22 14:38 Xiao Yao
  2024-03-22 15:28 ` Luiz Augusto von Dentz
  2024-03-22 16:40 ` [BlueZ] " bluez.test.bot
  0 siblings, 2 replies; 4+ messages in thread
From: Xiao Yao @ 2024-03-22 14:38 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz; +Cc: Xiao Yao

From: Xiao Yao <xiaoyao@rock-chips.com>

---
 profiles/audio/avctp.c | 6 ------
 1 file changed, 6 deletions(-)

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);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-22 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-22 14:38 [PATCH BlueZ] avctp: Remove redundant UUID checks and additions Xiao Yao
2024-03-22 15:28 ` Luiz Augusto von Dentz
2024-03-22 18:06   ` Yao Xiao
2024-03-22 16:40 ` [BlueZ] " bluez.test.bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.