bluez: Don't autodetect MTU by default
authorArun Raghavan <arun@arunraghavan.net>
Wed, 13 Sep 2017 03:52:27 +0000 (09:22 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Wed, 13 Sep 2017 03:52:27 +0000 (09:22 +0530)
commit9e895b172569ce5c34d977dbb7fded8c7957782e
treef98915920b584633c03db401666aa0404fa08ac4
parentb4d1c298a28f313d8ca72604ca05dfa68cc06e69
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
src/modules/bluetooth/backend-native.c
src/modules/bluetooth/module-bluez5-device.c
src/modules/bluetooth/module-bluez5-discover.c