forked from pool/bluez
Accepting request 883535 from home:seife:testing
update to 5.58 *** NOTE *** this will be unresolvable until ell-0.39 is in Factory OBS-URL: https://build.opensuse.org/request/show/883535 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=305
This commit is contained in:
parent
5de753cbc0
commit
ab6f45f3bd
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:59c4dba9fc8aae2a6a5f8f12f19bc1b0c2dc27355c7ca3123eed3fe6bd7d0b9d
|
||||
size 2053080
|
3
bluez-5.58.tar.xz
Normal file
3
bluez-5.58.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c8065e75a5eb67236849ef68a354b1700540305a8c88ef0a0fd6288f19daf1f1
|
||||
size 2060368
|
@ -1,43 +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);
|
||||
--
|
||||
2.30.2
|
||||
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 7 07:49:44 UTC 2021 - Stefan Seyfried <seife+obs@b1-systems.com>
|
||||
|
||||
- update to 5.58:
|
||||
* Fix issue with usage of deprecated GLib functions.
|
||||
- version 5.57:
|
||||
* Fix issue with handling GATT notification PDU parsing.
|
||||
* Fix issue with registering DIS without a valid source.
|
||||
* Fix issue with removing remote SEPs when loading from cache.
|
||||
- remove upstreamed
|
||||
bluez-avdtp-Fix-removing-all-remote-SEPs-when-loading-from.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 1 04:27:37 UTC 2021 - Al Cho <acho@suse.com>
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
# contributions via pull requests are welcome!
|
||||
#
|
||||
Name: bluez
|
||||
Version: 5.56
|
||||
Version: 5.58
|
||||
Release: 0
|
||||
Summary: Bluetooth Stack for Linux
|
||||
License: GPL-2.0-or-later
|
||||
@ -49,7 +49,6 @@ Patch4: bluez-disable-broken-tests.diff
|
||||
Patch5: bluez-test-2to3.diff
|
||||
# Move 43xx firmware path for RPi3 bluetooth support bsc#1140688
|
||||
Patch10: RPi-Move-the-43xx-firmware-into-lib-firmware.patch
|
||||
Patch11: bluez-avdtp-Fix-removing-all-remote-SEPs-when-loading-from.patch
|
||||
# Upstream suggests to use btmon instead of hcidump and does not want those patches
|
||||
# => PATCH-FIX-OPENSUSE for those two :-)
|
||||
# fix some memory leak with malformed packet (reported upstream but not yet fixed)
|
||||
@ -85,7 +84,7 @@ Obsoletes: obexd-client < 5.0
|
||||
Provides: obexd-client = %{version}
|
||||
%{?systemd_requires}
|
||||
%if 0%{?suse_version} >= 1550
|
||||
BuildRequires: pkgconfig(ell) >= 0.28
|
||||
BuildRequires: pkgconfig(ell) >= 0.39
|
||||
%endif
|
||||
%if %{with mesh}
|
||||
# json-c is needed for --enable-mesh
|
||||
|
Loading…
Reference in New Issue
Block a user