mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
bluez5: remove mtu hardcoding
Hardcoding MTU is no longer necessary with the reworked SCO i/o, which guesses suitable write sizes based on rx.
This commit is contained in:
parent
368182d963
commit
073217ae63
3 changed files with 18 additions and 59 deletions
|
|
@ -234,10 +234,12 @@ static int sco_acquire_cb(void *data, bool optional)
|
|||
goto fail;
|
||||
|
||||
t->fd = sock;
|
||||
|
||||
/* Fallback value */
|
||||
t->read_mtu = 48;
|
||||
t->write_mtu = 48;
|
||||
|
||||
if (false) {
|
||||
if (true) {
|
||||
struct sco_options sco_opt;
|
||||
|
||||
len = sizeof(sco_opt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue