Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marijn Suijten
pulseaudio
Commits
0ff55afd
Commit
0ff55afd
authored
May 01, 2020
by
pali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! bluetooth: Fix device_count_disconnected_profiles
parent
25f32006
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/modules/bluetooth/bluez5-util.c
src/modules/bluetooth/bluez5-util.c
+6
-0
No files found.
src/modules/bluetooth/bluez5-util.c
View file @
0ff55afd
...
...
@@ -272,6 +272,9 @@ static unsigned device_count_disconnected_profile_uuids(pa_bluetooth_device *dev
bluetooth_profile_count
=
pa_bluetooth_profile_count
();
for
(
profile
=
0
;
profile
<
bluetooth_profile_count
;
profile
++
)
{
if
(
profile
==
PA_BLUETOOTH_PROFILE_OFF
)
continue
;
if
(
!
device_supports_profile
(
device
,
profile
)
||
pa_bluetooth_profile_is_a2dp
(
profile
))
continue
;
...
...
@@ -310,6 +313,9 @@ static void wait_for_profiles_cb(pa_mainloop_api *api, pa_time_event* event, con
bluetooth_profile_count
=
pa_bluetooth_profile_count
();
for
(
profile
=
0
;
profile
<
bluetooth_profile_count
;
profile
++
)
{
if
(
profile
==
PA_BLUETOOTH_PROFILE_OFF
)
continue
;
if
(
device_is_profile_connected
(
device
,
profile
))
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment