summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubtsov <s.e.golubtsov@gmail.com>2022-09-04 10:17:00 +0200
committerDenis Kenzior <denkenz@gmail.com>2022-09-06 09:48:10 -0500
commita8be9865837471e417a28471decd33ebbcdde629 (patch)
treefcd7031c0219a2ba29e452d5752a5f3b198481a4
parenta3a75e752e307d61c0ba3561af6b29f3c8ec915a (diff)
downloadofono-a8be9865837471e417a28471decd33ebbcdde629.tar.gz
file provision plugin: use CHAP auth by default
3GPP mandated CHAP to be used as the default
-rw-r--r--plugins/file-provision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/file-provision.c b/plugins/file-provision.c
index 37fac0e3..a3829a34 100644
--- a/plugins/file-provision.c
+++ b/plugins/file-provision.c
@@ -94,7 +94,7 @@ static int config_file_provision_get_settings(const char *mcc,
(*settings)[0].password = value;
/* select default authentication method */
- (*settings)[0].auth_method = OFONO_GPRS_AUTH_METHOD_NONE;
+ (*settings)[0].auth_method = OFONO_GPRS_AUTH_METHOD_CHAP;
value = g_key_file_get_string(key_file, setting_group,
"internet.AuthenticationMethod", NULL);