From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] stemodem: Check for ok in voicecall_initialize.
Date: Thu, 03 Feb 2011 10:13:21 -0600 [thread overview]
Message-ID: <4D4AD421.1020309@gmail.com> (raw)
In-Reply-To: <1296738804-23599-1-git-send-email-maritsofie.henriksen8@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 974 bytes --]
Hi Marit,
On 02/03/2011 07:13 AM, Marit Henriksen wrote:
> From: Marit Henriksen <marit.henriksen@stericsson.com>
>
> ---
> drivers/stemodem/voicecall.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/stemodem/voicecall.c b/drivers/stemodem/voicecall.c
> index fa078a8..2eaba8c 100644
> --- a/drivers/stemodem/voicecall.c
> +++ b/drivers/stemodem/voicecall.c
> @@ -522,6 +522,10 @@ static void ste_voicecall_initialized(gboolean ok, GAtResult *result,
> struct ofono_voicecall *vc = user_data;
> struct voicecall_data *vd = ofono_voicecall_get_data(vc);
>
> + if (!ok)
> + ofono_error("*ECAV not enabled. "
> + "Do not have proper call handling");
> +
Why do you still register the atom here? Should you also call
ofono_voicecall_remove() and return here?
> g_at_chat_register(vd->chat, "*ECAV:", ecav_notify, FALSE, vc, NULL);
> ofono_voicecall_register(vc);
> }
Regards,
-Denis
prev parent reply other threads:[~2011-02-03 16:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-03 13:13 [PATCH] stemodem: Check for ok in voicecall_initialize Marit Henriksen
2011-02-03 16:13 ` Denis Kenzior [this message]
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=4D4AD421.1020309@gmail.com \
--to=denkenz@gmail.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.