From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx> v2 of this patchset reorders and splits the patches to make the discussion easier. Patches 1 and 2 haven't been modified and focus on the MTU handling on Media API. Patch 3 handles now the HFPGW case only, which fixes the module load failure when the remove end rejects the SCO (almost always). Patches 4 and 5 make the handling of A2DP more consistent with the way HFP is handled. This should be a transitional change though, since IMO all policies should be removed from these two modules. Mikel Astiz (5): bluetooth: Minor style fixes bluetooth: Consider different input and output MTU bluetooth: Avoid duplicating profile argument twice bluetooth: Do not switch to hfgw unless Playing bluetooth: Do not switch to a2dp_source unless Playing src/modules/bluetooth/module-bluetooth-device.c | 124 ++++++++++++++++----- src/modules/bluetooth/module-bluetooth-discover.c | 7 +- 2 files changed, 99 insertions(+), 32 deletions(-) -- 1.7.7.6