summaryrefslogtreecommitdiffstats
path: root/plugins/hfp_hf.c
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2011-06-21 14:49:47 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-06-20 04:19:09 -0500
commit1ef63175811378f7a4cbbd5638146ba660dd4718 (patch)
tree84b8583051f85e6c6fec9a30285a02e39e6e7cd4 /plugins/hfp_hf.c
parent6063c549331ae82a16902c8a168817bb0fe32da1 (diff)
downloadofono-1ef63175811378f7a4cbbd5638146ba660dd4718.tar.bz2
hfp_hf: update to use new HFP enums
Diffstat (limited to 'plugins/hfp_hf.c')
-rw-r--r--plugins/hfp_hf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/hfp_hf.c b/plugins/hfp_hf.c
index 12d34576..8a76701f 100644
--- a/plugins/hfp_hf.c
+++ b/plugins/hfp_hf.c
@@ -174,7 +174,7 @@ static void cmer_cb(gboolean ok, GAtResult *result, gpointer user_data)
return;
}
- if (data->ag_features & AG_FEATURE_3WAY)
+ if (data->ag_features & HFP_AG_FEATURE_3WAY)
g_at_chat_send(data->chat, "AT+CHLD=?", chld_prefix,
chld_cb, modem, NULL);
else
@@ -418,11 +418,11 @@ static int hfp_create_modem(const char *device, const char *dev_addr,
if (data == NULL)
goto free;
- data->hf_features |= HF_FEATURE_3WAY;
- data->hf_features |= HF_FEATURE_CLIP;
- data->hf_features |= HF_FEATURE_REMOTE_VOLUME_CONTROL;
- data->hf_features |= HF_FEATURE_ENHANCED_CALL_STATUS;
- data->hf_features |= HF_FEATURE_ENHANCED_CALL_CONTROL;
+ data->hf_features |= HFP_HF_FEATURE_3WAY;
+ data->hf_features |= HFP_HF_FEATURE_CLIP;
+ data->hf_features |= HFP_HF_FEATURE_REMOTE_VOLUME_CONTROL;
+ data->hf_features |= HFP_HF_FEATURE_ENHANCED_CALL_STATUS;
+ data->hf_features |= HFP_HF_FEATURE_ENHANCED_CALL_CONTROL;
data->handsfree_path = g_strdup(device);
if (data->handsfree_path == NULL)