Open Source Telephony
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [PATCH 1/2] Fix: Username and Password must be set after context is created.
Date: Mon, 01 Feb 2010 13:41:04 -0800	[thread overview]
Message-ID: <1265060464.31341.59.camel@localhost.localdomain> (raw)
In-Reply-To: <201002011320.04073.denkenz@gmail.com>

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

Hi Denis,

> > > > And we might wanna check if MBM cards behave similar and ensure that
> > > > STE and MBM cards use a similar code flow.
> > >
> > > When testing this EIAAUW fails if there are no prior PDP context on the
> > > modem. Most likely this is the case with the MBM module as well, but I
> > > have not tested this.
> > 
> > Then we have to do that in the callback in an extra step. I don't really
> > like it, but seems the way to go. Please send a patch that also changes
> > this for MBM devices. We really wanna keep these in sync.
> 
> Actually the easiest way to do this is simply queue the EIAAUW after the 
> CGDCONT in activate_context.  If CGDCONT fails then EIAAUW won't have any 
> effect anyway (but will get executed nevertheless).  This is better than 
> worrying about strduping username/password and freeing it in all possible code 
> paths.

sounds good enough to me. Just wanna have STE and MBM in sync here. And
of course an extra comment that explain why we do it.

Sjur, care to send a patch?

Regards

Marcel



      reply	other threads:[~2010-02-01 21:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-01 15:50 [PATCH 1/2] Fix: Username and Password must be set after context is created sjur.brandeland
2010-02-01 15:50 ` [PATCH 2/2] Fix: Check if interface exists before creating it sjur.brandeland
2010-02-01 16:03   ` Marcel Holtmann
2010-02-01 20:40     ` Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
2010-02-01 21:40       ` Marcel Holtmann
2010-02-01 16:09 ` [PATCH 1/2] Fix: Username and Password must be set after context is created Marcel Holtmann
2010-02-01 17:23   ` Sjur =?unknown-8bit?q?Br=C3=A6ndeland?=
2010-02-01 19:10     ` Marcel Holtmann
2010-02-01 19:20       ` Denis Kenzior
2010-02-01 21:41         ` Marcel Holtmann [this message]

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=1265060464.31341.59.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