mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
bluez5: tweak msbc adapter probe for Intel adapters
The msbc capability connection probe seems to cause problems on Intel Bluetooth 8087:0a2b (Intel 8265), resulting to subsequent connections apparently ending up with wrong altsetting. According to testing, the problem is connecting to self, so connect to device instead. Fixes #1671
This commit is contained in:
parent
601560e343
commit
84bc0490a5
1 changed files with 2 additions and 2 deletions
|
|
@ -589,8 +589,8 @@ static bool device_supports_required_mSBC_transport_modes(
|
||||||
bdaddr_t dst;
|
bdaddr_t dst;
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
/* Connect to self */
|
/* Connect to device */
|
||||||
str2ba(device->adapter->address, &dst);
|
str2ba(device->address, &dst);
|
||||||
len = sizeof(addr);
|
len = sizeof(addr);
|
||||||
memset(&addr, 0, len);
|
memset(&addr, 0, len);
|
||||||
addr.sco_family = AF_BLUETOOTH;
|
addr.sco_family = AF_BLUETOOTH;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue