mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
bluez5: Workaround incorrect SCO MTU
It seems that some BT adapters don't return correct SCO MTU, see https://marc.info/?t=148586768600002&r=1&w=2 Do not try to autodetect the MTU and use a fix MTU size of 48 bytes.
This commit is contained in:
parent
06a6e11806
commit
2d91e62a19
3 changed files with 11 additions and 32 deletions
|
|
@ -235,7 +235,7 @@ static int sco_acquire_cb(void *data, bool optional)
|
|||
t->read_mtu = 48;
|
||||
t->write_mtu = 48;
|
||||
|
||||
if (true) {
|
||||
if (false) {
|
||||
struct sco_options sco_opt;
|
||||
|
||||
len = sizeof(sco_opt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue