All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesper Larsen <jesper.larsen@ixonos.com>
To: ofono@ofono.org
Subject: [PATCH v2 3/3] sim900: Use SIM900 quirk for gprs context
Date: Thu, 18 Jul 2013 09:49:58 +0200	[thread overview]
Message-ID: <1374133798-20488-3-git-send-email-jesper.larsen@ixonos.com> (raw)
In-Reply-To: <1374133798-20488-2-git-send-email-jesper.larsen@ixonos.com>

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

Use the module specific quirk for gprs by using the vendor entry
OFONO_VENDOR_SIMCOM_SIM900
---
 plugins/sim900.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/sim900.c b/plugins/sim900.c
index 5d3cd92..a7728cd 100644
--- a/plugins/sim900.c
+++ b/plugins/sim900.c
@@ -361,7 +361,7 @@ static void sim900_post_sim(struct ofono_modem *modem)
 	if (gprs == NULL)
 		return;
 
-	gc = ofono_gprs_context_create(modem, OFONO_VENDOR_SIMCOM,
+	gc = ofono_gprs_context_create(modem, OFONO_VENDOR_SIMCOM_SIM900,
 					"atmodem", data->dlcs[GPRS_DLC]);
 	if (gc)
 		ofono_gprs_add_context(gprs, gc);
-- 
1.7.10.4


  reply	other threads:[~2013-07-18  7:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-17  7:14 [PATCH 0/3] SIM900 GPRS fixes Jesper Larsen
2013-07-17  7:14 ` [PATCH 1/3] sim900: Enable serial receiver Jesper Larsen
2013-07-17  7:14   ` [PATCH 2/3] atmodem: Add gprs-context quirk for SIM900 Jesper Larsen
2013-07-17  7:14     ` [PATCH 3/3] sim900: Fix order of dlc prefixes Jesper Larsen
2013-07-17 15:29       ` Denis Kenzior
2013-07-17 15:33     ` [PATCH 2/3] atmodem: Add gprs-context quirk for SIM900 Denis Kenzior
2013-07-17 15:29   ` [PATCH 1/3] sim900: Enable serial receiver Denis Kenzior
2013-07-18  7:49 ` [PATCH v2 1/3] atmodem: Add vendor entry for SIM900 module Jesper Larsen
2013-07-18  7:49   ` [PATCH v2 2/3] atmodem: Add gprs-context quirk for SIM900 Jesper Larsen
2013-07-18  7:49     ` Jesper Larsen [this message]
2013-07-18 19:13   ` [PATCH v2 1/3] atmodem: Add vendor entry for SIM900 module 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=1374133798-20488-3-git-send-email-jesper.larsen@ixonos.com \
    --to=jesper.larsen@ixonos.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.