[PATCH BlueZ 0/1] policy: fix HSP/HFP reconnection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch was regarding to https://github.com/bluez/bluez/issues/1069.

The previous patch did not fix the issue, as I was testing it with Apple
AirPods Pro 2 and it automatically reconnects HSP/HFP after A2DP is
connected for about 25 seconds, and I assume the patch worked for me.
Some other devices I tested did not exhibit such behavior (Jabra Speak2
55 UC).  This patch was tested against both these devices, and both
cases with NVIDIA GPU enabled and disabled.

By removing the code checking whether A2DP service is initiator for
directly starting HSP/HFP service, it will now only check whether
HSP/HFP is connected, and start the service if not.

The previous patch also has an oversight of not falling back to get HSP
service if HFP is not available.  This patch fixed the issue.

Yao Wei (魏銘廷) (1):
  policy: fix HSP/HFP reconnection

 plugins/policy.c | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

-- 
2.49.0





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux