summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-02-04 14:26:59 -0800
committerJohan Hedberg <johan.hedberg@nokia.com>2009-02-04 14:26:59 -0800
commit1d2672966f514507f82058782034c481800122e6 (patch)
treed59de86bd742d126f04228ac6003f4a65d5f2d1e
parent023a4d21279db474322a9ff9390130754ebfbd82 (diff)
Proper fix for the SLC check
-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);