bluetooth: set initial packet size to 60

Raise initial MTU size to fix frame size when hci can do 60 byte frames.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/507>
This commit is contained in:
Igor V. Kovalenko 2021-03-02 00:52:59 +03:00 committed by PulseAudio Marge Bot
parent 9de895fe23
commit c7c9ca22ab
2 changed files with 8 additions and 5 deletions

View file

@ -326,8 +326,8 @@ static int sco_acquire_cb(pa_bluetooth_transport *t, bool optional, size_t *imtu
if (sock < 0)
goto fail;
if (imtu) *imtu = 48;
if (omtu) *omtu = 48;
if (imtu) *imtu = 60;
if (omtu) *omtu = 60;
if (t->device->autodetect_mtu) {
struct sco_options sco_opt;