summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vcgomes@gmail.com>2013-09-10 21:09:41 -0300
committerDenis Kenzior <denkenz@gmail.com>2013-09-12 13:17:40 -0500
commitff16aed8bd7505ff004e7a4d097c3aa7147a0b60 (patch)
tree021d5581859b49c4d31c944b82a9a779fca5f06c /plugins
parente574d44d00780f2c7010677a6c261ffba82ea83f (diff)
downloadofono-ff16aed8bd7505ff004e7a4d097c3aa7147a0b60.tar.bz2
handsfree-audio: Detect transparent SCO in kernel
Deferred SCO setup is not enough for HFP 1.6 wideband codec support. Wideband speech also requires Transparent SCO to be enabled in the kernel.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hfp_hf_bluez5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index 9f402f7f..74c64955 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -632,7 +632,7 @@ static void connect_handler(DBusConnection *conn, void *user_data)
* Assuming that if defer_setup is supported, then SCO transparent
* mode is also supported
*/
- if (ofono_handsfree_audio_has_defer_setup())
+ if (ofono_handsfree_audio_has_transparent_sco())
features |= HFP_SDP_HF_FEATURE_WIDEBAND_SPEECH;
DBG("Registering External Profile handler ...");