bluez: Don't autodetect MTU by default

This breaks a lot of headsets, so disabling by default. Can be
re-enabled in configuration for specific hardware where it is deemed
necessary.

Also added some debug logging to be able to examine what MTU size is
reported by the device.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=102660
This commit is contained in:
Arun Raghavan 2017-09-13 09:22:27 +05:30 committed by Tanu Kaskinen
parent 56b6e32535
commit 82e7fe413e
3 changed files with 3 additions and 2 deletions

View file

@ -2276,7 +2276,7 @@ int pa__init(pa_module* m) {
goto fail_free_modargs;
}
autodetect_mtu = true;
autodetect_mtu = false;
if (pa_modargs_get_value_boolean(ma, "autodetect_mtu", &autodetect_mtu) < 0) {
pa_log("Invalid boolean value for autodetect_mtu parameter");
goto fail_free_modargs;