From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH_v2 5/6] cdma-connman: Add public api definition
Date: Wed, 02 Nov 2011 10:32:33 -0500 [thread overview]
Message-ID: <4EB16291.6080609@gmail.com> (raw)
In-Reply-To: <1320230281-20743-6-git-send-email-guillaume.zajac@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]
Hi Guillaume,
On 11/02/2011 05:38 AM, Guillaume Zajac wrote:
> ---
> src/cdma-connman.c | 18 ++++++++++++++++++
> 1 files changed, 18 insertions(+), 0 deletions(-)
>
> diff --git a/src/cdma-connman.c b/src/cdma-connman.c
> index 42dcca2..f88353a 100644
> --- a/src/cdma-connman.c
> +++ b/src/cdma-connman.c
> @@ -562,6 +562,24 @@ void ofono_cdma_connman_driver_unregister(
> g_drivers = g_slist_remove(g_drivers, (void *) d);
> }
>
> +void ofono_cdma_connman_deactivated(struct ofono_cdma_connman *cm)
> +{
> + DBusConnection *conn = ofono_dbus_get_connection();
> + const char *path;
> + dbus_bool_t value;
> +
> + if (cm == NULL)
> + return;
> +
> + cdma_connman_settings_reset(cm);
> + value = FALSE;
> + path = __ofono_atom_get_path(cm->atom);
Don't you also want to reset cm->powered accordingly?
> +
> + ofono_dbus_signal_property_changed(conn, path,
> + OFONO_CDMA_CONNECTION_MANAGER_INTERFACE,
> + "Powered", DBUS_TYPE_BOOLEAN, &value);
> +}
> +
> static void cdma_connman_unregister(struct ofono_atom *atom)
> {
> DBusConnection *conn = ofono_dbus_get_connection();
Regards,
-Denis
next prev parent reply other threads:[~2011-11-02 15:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-02 10:37 [PATCH_v2 0/6] CDMA Network registration Guillaume Zajac
2011-11-02 10:37 ` [PATCH_v2 1/6] dbus: Add new D-Bus error message NotRegistered Guillaume Zajac
2011-11-02 10:37 ` [PATCH_v2 2/6] doc: Add RoamingAllowed property Guillaume Zajac
2011-11-02 10:37 ` [PATCH_v2 3/6] cdma-connman: Rely on roaming and cdma-netreg status to enable data call Guillaume Zajac
2011-11-02 15:27 ` Denis Kenzior
2011-11-04 14:42 ` Guillaume Zajac
2011-11-02 10:37 ` [PATCH_v2 4/6] cdma-connman: Add public api to notify connection is lost Guillaume Zajac
2011-11-02 15:33 ` Denis Kenzior
2011-11-02 10:38 ` [PATCH_v2 5/6] cdma-connman: Add public api definition Guillaume Zajac
2011-11-02 15:32 ` Denis Kenzior [this message]
2011-11-04 14:57 ` Guillaume Zajac
2011-11-02 10:38 ` [PATCH_v2 6/6] cdmamodem: Notify when connection is lost Guillaume Zajac
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=4EB16291.6080609@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.