Hi Denis,

On Tue, Oct 9, 2018 at 7:37 PM Denis Kenzior <[email protected]> wrote:
>
> Hi Giacinto,
>
> On 10/06/2018 12:45 AM, Giacinto Cifelli wrote:
> > ---
> >   src/gprs.c | 7 +++++++
> >   1 file changed, 7 insertions(+)
>
> Applied, see below:
>
> >
> > diff --git a/src/gprs.c b/src/gprs.c
> > index 79fafdbc..235c8884 100644
> > --- a/src/gprs.c
> > +++ b/src/gprs.c
> > @@ -261,6 +261,10 @@ static const char *gprs_auth_method_to_string(enum 
> > ofono_gprs_auth_method auth)
> >               return "chap";
> >       case OFONO_GPRS_AUTH_METHOD_PAP:
> >               return "pap";
> > +     case OFONO_GPRS_AUTH_METHOD_NONE:
> > +             return "none";
> > +     default:
> > +             return NULL;
>
> I dropped this default statement for reasons outlined in our earlier
> discussions.

oh yes, thanks. I forgot to change this too.

>
> >       };
> >
> >       return NULL;
> > @@ -275,6 +279,9 @@ static gboolean gprs_auth_method_from_string(const char 
> > *str,
> >       } else if (g_str_equal(str, "pap")) {
> >               *auth = OFONO_GPRS_AUTH_METHOD_PAP;
> >               return TRUE;
> > +     } else if (g_str_equal(str, "none")) {
> > +             *auth = OFONO_GPRS_AUTH_METHOD_NONE;
> > +             return TRUE;
> >       }
> >
> >       return FALSE;
> >
>
> Regards,
> -Denis

Regards,
Giacinto
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to