All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 3/5] src/gprs: support for NONE auth
Date: Tue, 09 Oct 2018 12:37:18 -0500	[thread overview]
Message-ID: <b4b5e9b2-9109-6ee0-8902-4470b9f31f87@gmail.com> (raw)
In-Reply-To: <20181006054520.26737-3-gciofono@gmail.com>

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

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.

>   	};
>   
>   	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

  reply	other threads:[~2018-10-09 17:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-06  5:45 [PATCH 1/5] connman-api: added "none" auth_method Giacinto Cifelli
2018-10-06  5:45 ` [PATCH 2/5] gprs-context: added OFONO_GPRS_AUTH_METHOD_NONE Giacinto Cifelli
2018-10-06  5:45 ` [PATCH 3/5] src/gprs: support for NONE auth Giacinto Cifelli
2018-10-09 17:37   ` Denis Kenzior [this message]
2018-10-09 18:49     ` Giacinto Cifelli
2018-10-06  5:45 ` [PATCH 4/5] plugins/provisioning and mbpi: support for auth NONE Giacinto Cifelli
2018-10-09 17:38   ` Denis Kenzior
2018-10-06  5:45 ` [PATCH 5/5] drivers: " Giacinto Cifelli
2018-10-09 17:41   ` Denis Kenzior
2018-10-09 18:51     ` Giacinto Cifelli
2018-10-09 17:37 ` [PATCH 1/5] connman-api: added "none" auth_method 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=b4b5e9b2-9109-6ee0-8902-4470b9f31f87@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.