All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Create gprs and gc in post_sim, because in post_online could lead to problems.
  2011-07-07 16:41 [PATCH] Create gprs and gc in post_sim, because in post_online could lead to problems Bertrand Aygon
@ 2011-07-07  6:17 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2011-07-07  6:17 UTC (permalink / raw)
  To: ofono

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

Hi Bertrand,

On 07/07/2011 11:41 AM, Bertrand Aygon wrote:
> ---
>  plugins/zte.c |   13 +++++++------
>  1 files changed, 7 insertions(+), 6 deletions(-)

Patch has been applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] Create gprs and gc in post_sim, because in post_online could lead to problems.
@ 2011-07-07 16:41 Bertrand Aygon
  2011-07-07  6:17 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Bertrand Aygon @ 2011-07-07 16:41 UTC (permalink / raw)
  To: ofono

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

---
 plugins/zte.c |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/plugins/zte.c b/plugins/zte.c
index 6a4b374..4bac3cf 100644
--- a/plugins/zte.c
+++ b/plugins/zte.c
@@ -286,6 +286,13 @@ static void zte_post_sim(struct ofono_modem *modem)
 
 	ofono_sms_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
 					"atmodem", data->aux);
+
+	data->gprs = ofono_gprs_create(modem, 0, "atmodem", data->aux);
+
+	data->gc = ofono_gprs_context_create(modem, 0, "atmodem", data->modem);
+
+	if (data->gprs && data->gc)
+		ofono_gprs_add_context(data->gprs, data->gc);
 }
 
 static void zte_post_online(struct ofono_modem *modem)
@@ -300,12 +307,6 @@ static void zte_post_online(struct ofono_modem *modem)
 					"atmodem", data->aux);
 	ofono_ussd_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
 					"atmodem", data->aux);
-	data->gprs = ofono_gprs_create(modem, 0, "atmodem", data->aux);
-
-	data->gc = ofono_gprs_context_create(modem, 0, "atmodem", data->modem);
-
-	if (data->gprs && data->gc)
-		ofono_gprs_add_context(data->gprs, data->gc);
 }
 
 static struct ofono_modem_driver zte_driver = {
-- 
1.7.4.1

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-07 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-07 16:41 [PATCH] Create gprs and gc in post_sim, because in post_online could lead to problems Bertrand Aygon
2011-07-07  6:17 ` Denis Kenzior

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.