All of lore.kernel.org
 help / color / mirror / Atom feed
From: =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau <frederic.dalleau@linux.intel.com>
To: ofono@ofono.org
Subject: [PATCH 2/2] emulator: Disable echo for hfp emulators
Date: Wed, 23 Feb 2011 14:19:13 +0100	[thread overview]
Message-ID: <1298467153-2426-3-git-send-email-frederic.dalleau@linux.intel.com> (raw)
In-Reply-To: <1298467153-2426-1-git-send-email-frederic.dalleau@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

---
 src/emulator.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/emulator.c b/src/emulator.c
index dcfd296..7007882 100644
--- a/src/emulator.c
+++ b/src/emulator.c
@@ -203,6 +203,8 @@ void ofono_emulator_register(struct ofono_emulator *em, int fd)
 
 	if (em->type == OFONO_EMULATOR_TYPE_DUN)
 		g_at_server_register(em->server, "D", dial_cb, em, NULL);
+	else if (em->type == OFONO_EMULATOR_TYPE_HFP)
+		g_at_server_set_echo(em->server, FALSE);
 }
 
 static void emulator_remove(struct ofono_atom *atom)
-- 
1.7.1


  parent reply	other threads:[~2011-02-23 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23 13:19 [PATCH 0/2] Disable command echo for hfp emulators =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau
2011-02-23 13:19 ` [PATCH 1/2] gatchat: Add function to enable/disable echo =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau
2011-02-23 13:19 ` =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau [this message]
2011-02-23 15:31 ` [PATCH 0/2] Disable command echo for hfp emulators Denis Kenzior

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=1298467153-2426-3-git-send-email-frederic.dalleau@linux.intel.com \
    --to=frederic.dalleau@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.