From 1d2672966f514507f82058782034c481800122e6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 4 Feb 2009 14:26:59 -0800 Subject: Proper fix for the SLC check --- audio/headset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audio/headset.c b/audio/headset.c index c6b3ecf7..93cc983c 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -656,7 +656,8 @@ int telephony_event_reporting_rsp(void *telephony_device, cme_error_t err) if (hs->state != HEADSET_STATE_CONNECT_IN_PROGRESS) return 0; - if (hs->hf_features & AG_FEATURE_THREE_WAY_CALLING) + if (hs->hf_features & HF_FEATURE_CALL_WAITING_AND_3WAY && + ag.features & AG_FEATURE_THREE_WAY_CALLING) return 0; hfp_slc_complete(device); -- cgit