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:
Pauli Virtanen 2020-12-30 21:40:26 +02:00
parent 368182d963
commit 073217ae63
3 changed files with 18 additions and 59 deletions

View file

@ -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);