All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] plugin: provision: create multiple contexts for multiple entries in mbpi
Date: Wed, 04 Mar 2020 10:10:56 -0600	[thread overview]
Message-ID: <7c96764b-1885-a697-3fbb-76677d7e4183@gmail.com> (raw)
In-Reply-To: <20200302163136.19369-1-nick83ola@gmail.com>

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

Hi Nicola,

On 3/2/20 10:31 AM, Nicola Lunghi wrote:
> if the mobile provider information database has multiple apn settings for the
> same operator, ofono was throwing an error and creating a default internet
> context with an empty apn.
> 
> This patch will instead allow the automatic creation of multiple context
> allowing the user to pick one of the default via connman.

I still maintain this is a horrible idea.  Yes it is a nice workaround 
if you don't have a proper provisioning database, but not something I'd 
use in production.

What I can do is allow this to be configurable via some config file or 
environment variable (and off by default).

> 
> Connman supports multiple cellular context so no issue there.
> 
> Previously proposed by Martin Hundebøll here:
> https://lists.ofono.org/hyperkitty/list/ofono(a)ofono.org/thread/2SC46PH5CWT3A3HTHGUKUUVI3QDYIL73/#7B6CPARJQMZUBQUPXBJMAOXZY4RW2L3D
> 
> And tested by Nicola Lunghi with connman 1.37
> 
> Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>

No SoB please.

> ---
>   plugins/provision.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

Regards,
-Denis

  reply	other threads:[~2020-03-04 16:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 16:31 [PATCH] plugin: provision: create multiple contexts for multiple entries in mbpi Nicola Lunghi
2020-03-04 16:10 ` Denis Kenzior [this message]
2020-03-04 16:45   ` nick83ola
2020-03-04 16:54     ` Giacinto Cifelli
2020-03-04 17:00       ` nick83ola
2020-03-04 16:56         ` Denis Kenzior
2020-03-04 17:51           ` nick83ola
2020-03-04 18:49             ` Denis Kenzior
2020-03-12 13:22               ` Tarmo Kuuse
2020-03-12 14:49                 ` Denis Kenzior
2020-03-12 19:36                   ` Tarmo Kuuse
2020-03-12 20:06                     ` Denis Kenzior
2020-03-12 15:51                 ` Christophe Ronco
2020-03-12 19:17                   ` Tarmo Kuuse

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=7c96764b-1885-a697-3fbb-76677d7e4183@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 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.