diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-04 13:53:16 -0800 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-04 13:53:16 -0800 | 
| commit | 6eb9d732835c1ea393692fb9e9318b7198829da8 (patch) | |
| tree | 3e627d1de3484ac2c70f2430cafa48119f3d13dc | |
| parent | 2a797e647f8fd17ec6d86a5b0bf122cc0a05aeb2 (diff) | |
Fix SLC completion check
We should check HF and not AG features when determining whether the SLC
creation is complete or not.
| -rw-r--r-- | audio/headset.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c index 2d14c225..c6b3ecf7 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -656,7 +656,7 @@ int telephony_event_reporting_rsp(void *telephony_device, cme_error_t err)  	if (hs->state != HEADSET_STATE_CONNECT_IN_PROGRESS)  		return 0; -	if (ag.features & AG_FEATURE_THREE_WAY_CALLING) +	if (hs->hf_features & AG_FEATURE_THREE_WAY_CALLING)  		return 0;  	hfp_slc_complete(device);  | 
