From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [PATCH 3/3] mbm: register gprs as STE to utilize STE quirks
Date: Fri, 20 Aug 2010 14:14:40 +0200 [thread overview]
Message-ID: <1282306480.23399.214.camel@localhost.localdomain> (raw)
In-Reply-To: <1282207549.23399.165.camel@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]
Hi Pekka,
> > No AT+CGEREP=2,1 on mbm either.
> > ---
> > plugins/mbm.c | 3 ++-
> > 1 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/plugins/mbm.c b/plugins/mbm.c
> > index a06c444..e77e61c 100644
> > --- a/plugins/mbm.c
> > +++ b/plugins/mbm.c
> > @@ -395,7 +395,8 @@ static void mbm_post_sim(struct ofono_modem *modem)
> > ofono_cbs_create(modem, 0, "atmodem", data->modem_port);
> > ofono_ussd_create(modem, 0, "atmodem", data->modem_port);
> >
> > - gprs = ofono_gprs_create(modem, 0, "atmodem", data->modem_port);
> > + gprs = ofono_gprs_create(modem, OFONO_VENDOR_STE, "atmodem",
> > + data->modem_port);
> > gc = ofono_gprs_context_create(modem, 0, "mbm", data->modem_port);
>
> looks good, but I actually prefer if we turn this around. Make the quirk
> in drivers/atmodem/gprs.c an OFONO_VENDOR_MBM quirk with a proper
> comment that this applies to STE and MBM modems. And then have the MBM
> and STE plugin use that quirk.
I was doing some cleanup and fixed this by myself now while I was at it.
Regards
Marcel
next prev parent reply other threads:[~2010-08-20 12:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 8:38 [PATCH 1/3] mbm: fix initial polling for sim Pekka.Pessi
2010-08-19 8:38 ` [PATCH 2/3] mbm: retry modem init Pekka.Pessi
2010-08-19 8:38 ` [PATCH 3/3] mbm: register gprs as STE to utilize STE quirks Pekka.Pessi
2010-08-19 8:45 ` Marcel Holtmann
2010-08-20 12:14 ` Marcel Holtmann [this message]
2010-08-19 8:43 ` [PATCH 2/3] mbm: retry modem init Marcel Holtmann
2010-08-19 8:41 ` [PATCH 1/3] mbm: fix initial polling for sim Marcel Holtmann
2010-08-19 8:59 ` Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
2010-08-19 14:49 ` Pekka Pessi
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=1282306480.23399.214.camel@localhost.localdomain \
--to=marcel@holtmann.org \
--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