summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/headset.c3
1 files changed, 2 insertions, 1 deletions
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);