From: =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis <frederic.danis@linux.intel.com>
To: ofono@ofono.org
Subject: [PATCH v2 2/4] hfp_hf: update to use new HFP enums
Date: Tue, 21 Jun 2011 14:49:47 +0200 [thread overview]
Message-ID: <1308660589-2187-2-git-send-email-frederic.danis@linux.intel.com> (raw)
In-Reply-To: <1308660589-2187-1-git-send-email-frederic.danis@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]
---
plugins/hfp_hf.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/plugins/hfp_hf.c b/plugins/hfp_hf.c
index 12d3457..8a76701 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)
--
1.7.1
next prev parent reply other threads:[~2011-06-21 12:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-21 12:49 [PATCH v2 1/4] include: add HFP features types for HF and AG =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis
2011-06-20 9:22 ` Denis Kenzior
2011-06-21 12:49 ` =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis [this message]
2011-06-21 12:49 ` [PATCH v2 3/4] hfpmodem: remove previous HFP defines =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis
2011-06-21 12:49 ` [PATCH v2 4/4] emulator: fix local HFP AG features =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1308660589-2187-2-git-send-email-frederic.danis@linux.intel.com \
--to=frederic.danis@linux.intel.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox