Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 2/4] add create/destroy_interface to ofono_gprs_context_driver
Date: Mon, 09 Nov 2009 10:59:11 -0600	[thread overview]
Message-ID: <200911091059.11821.denkenz@gmail.com> (raw)
In-Reply-To: <1257752281-22251-2-git-send-email-martin.xu@intel.com>

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

Hi Martin,

> @@ -57,6 +57,10 @@ struct ofono_gprs_context_driver {
>  	void (*deactivate_primary)(struct ofono_gprs_context *gc,
>  					unsigned int id,
>  					ofono_gprs_context_cb_t cb, void *data);
> +	void (*create_interface)(struct ofono_gprs_context *gc,
> +				struct ofono_gprs_primary_context *ctx);
> +	void (*destroy_interface)(struct ofono_gprs_context *gc,
> +				struct ofono_gprs_primary_context *ctx);
>  };

I suggest we don't do this, but instead notify the core of the interface name 
in 'activate_primary' callback, assuming the activate was successful.

Regards,
-Denis

  parent reply	other threads:[~2009-11-09 16:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09  7:37 [PATCH 1/4] add interface property to primary context Martin Xu
2009-11-09  7:37 ` [PATCH 2/4] add create/destroy_interface to ofono_gprs_context_driver Martin Xu
2009-11-09  7:38   ` [PATCH 3/4] add function ofono_gprs_context_get_modem Martin Xu
2009-11-09  7:38     ` [PATCH 4/4] add mbm_gprs_create/destroy_interface to mbm gprs_context_driver Martin Xu
2009-11-09 16:59   ` Denis Kenzior [this message]
2009-11-09  7:42 ` [PATCH */4] add interface property to primary context Xu, Martin
2009-11-10  3:28   ` How does ConnMan works with Ofono? " Xu, Martin
2009-11-10  4:52     ` Xu, Martin
2009-11-09 16:57 ` [PATCH 1/4] " 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=200911091059.11821.denkenz@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox