summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2021-06-23 09:52:09 +0200
committerPacho Ramos <pacho@gentoo.org>2021-06-23 09:53:39 +0200
commitdc88877a2411735d828da371cd8b72b2173625f5 (patch)
tree53e71d2a705105b6f5a7352024d74a8223656e12 /net-wireless/bluez/files
parentdev-util/diffoscope: disable img2txt tests (diff)
downloadgentoo-dc88877a2411735d828da371cd8b72b2173625f5.tar.gz
gentoo-dc88877a2411735d828da371cd8b72b2173625f5.tar.bz2
gentoo-dc88877a2411735d828da371cd8b72b2173625f5.zip
net-wireless/bluez: Drop old
Bug: https://bugs.gentoo.org/797712 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'net-wireless/bluez/files')
-rw-r--r--net-wireless/bluez/files/bluez-5.56-avdtp-disconnects.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/net-wireless/bluez/files/bluez-5.56-avdtp-disconnects.patch b/net-wireless/bluez/files/bluez-5.56-avdtp-disconnects.patch
deleted file mode 100644
index c2e34152748d..000000000000
--- a/net-wireless/bluez/files/bluez-5.56-avdtp-disconnects.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 28ddec8d6b829e002fa268c07b71e4c564ba9e16 Mon Sep 17 00:00:00 2001
-From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-Date: Thu, 11 Mar 2021 07:36:07 -0800
-Subject: [PATCH] avdtp: Fix removing all remote SEPs when loading from cache
-
-If avdtp_discover is called after cache has been loaded it end up
-removing all remote SEPs as they have not been discovered yet.
-
-Fixes: https://github.com/bluez/bluez/issues/102
----
- profiles/audio/avdtp.c | 16 ++++++++++++----
- 1 file changed, 12 insertions(+), 4 deletions(-)
-
-diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c
-index 088ca58b3..1d5871c62 100644
---- a/profiles/audio/avdtp.c
-+++ b/profiles/audio/avdtp.c
-@@ -3381,10 +3381,18 @@ int avdtp_discover(struct avdtp *session, avdtp_discover_cb_t cb,
- session->discover = g_new0(struct discover_callback, 1);
-
- if (session->seps) {
-- session->discover->cb = cb;
-- session->discover->user_data = user_data;
-- session->discover->id = g_idle_add(process_discover, session);
-- return 0;
-+ struct avdtp_remote_sep *sep = session->seps->data;
-+
-+ /* Check that SEP have been discovered as it may be loaded from
-+ * cache.
-+ */
-+ if (sep->discovered) {
-+ session->discover->cb = cb;
-+ session->discover->user_data = user_data;
-+ session->discover->id = g_idle_add(process_discover,
-+ session);
-+ return 0;
-+ }
- }
-
- err = send_request(session, FALSE, NULL, AVDTP_DISCOVER, NULL, 0);
-