This is round 5 of the initial bluetooth: separate HSP and HFP patch. It includes the review feedback and a global on/off switch just in case there's a problem headset with dual HFP/HSP but non-working HFP. This one now includes a proper rfcomm negotiation (see patch 3). I've finally figured out a bug in the rfcomm negotiation that was causing issues with my LG 900 headset, so I think it's now working for everything (but testing would be welcome). This incarnation changes the name of the enabling option and only defaults to true if the native backend is selected (which becomes the default). James Bottomley (4): bluetooth: use consistent profile names bluetooth: separate HSP and HFP bluetooth: add correct HFP rfcomm negotiation bluetooth: make native the default backend src/modules/bluetooth/backend-native.c | 169 +++++++++++++++++++++--- src/modules/bluetooth/backend-ofono.c | 4 +- src/modules/bluetooth/bluez5-util.c | 46 +++++-- src/modules/bluetooth/bluez5-util.h | 10 +- src/modules/bluetooth/module-bluetooth-policy.c | 3 +- src/modules/bluetooth/module-bluez5-device.c | 102 ++++++++++---- src/modules/bluetooth/module-bluez5-discover.c | 11 +- 7 files changed, 279 insertions(+), 66 deletions(-) -- 2.12.3