added the support for the NONE and ANY authentication methods
---
plugins/file-provision.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/plugins/file-provision.c b/plugins/file-provision.c
index d4846a6..f7412e6 100644
--- a/plugins/file-provision.c
+++ b/plugins/file-provision.c
@@ -104,6 +104,12 @@ static int config_file_provision_get_settings(const char
*mcc,
else if (g_strcmp0(value, "pap") == 0)
(*settings)[0].auth_method =
OFONO_GPRS_AUTH_METHOD_PAP;
+ else if (g_strcmp0(value, "none") == 0)
+ (*settings)[0].auth_method =
+ OFONO_GPRS_AUTH_METHOD_NONE;
+ else if (g_strcmp0(value, "any") == 0)
+ (*settings)[0].auth_method =
+ OFONO_GPRS_AUTH_METHOD_ANY;
else
DBG("Unknown auth method: %s", value);
--
1.9.1
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono