diff options
author | Sergei Golubtsov <s.e.golubtsov@gmail.com> | 2022-09-04 10:16:57 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2022-09-06 09:46:50 -0500 |
commit | eddeaaaec86229c93a0b74c4fb9f10f92b7d83ee (patch) | |
tree | 5d20ea6448d0234aa813046199f8a1f9481a8c77 | |
parent | 39e2a3f2c57365b78f4f08c0353d6e7abf2709cb (diff) | |
download | ofono-eddeaaaec86229c93a0b74c4fb9f10f92b7d83ee.tar.gz |
Revert "mbpi: support for auth NONE"
This reverts commit a5bdf48ca7be70a9b33a47dae0ea03bf842efdd2.
-rw-r--r-- | plugins/mbpi.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/mbpi.c b/plugins/mbpi.c index 433f1b55..ae92c762 100644 --- a/plugins/mbpi.c +++ b/plugins/mbpi.c @@ -325,8 +325,6 @@ static void apn_handler(GMarkupParseContext *context, struct gsm_data *gsm, ap->apn = g_strdup(apn); ap->type = OFONO_GPRS_CONTEXT_TYPE_INTERNET; ap->proto = OFONO_GPRS_PROTO_IP; - - /* pre-select default authentication method */ ap->auth_method = OFONO_GPRS_AUTH_METHOD_CHAP; g_markup_parse_context_push(context, &apn_parser, ap); @@ -397,10 +395,6 @@ static void gsm_end(GMarkupParseContext *context, const gchar *element_name, if (ap == NULL) return; - /* select authentication method NONE if fit */ - if (!ap->username || !ap->password) - ap->auth_method = OFONO_GPRS_AUTH_METHOD_NONE; - if (gsm->allow_duplicates == FALSE) { GSList *l; |