OFONO_GPRS_AUTH_METHOD_NONE disables the authentication
OFONO_GPRS_AUTH_METHOD_ANY tries first CHAP then PAP,
but only applies to supporting drivers and modules
---
 include/gprs-context.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/gprs-context.h b/include/gprs-context.h
index 20ca9ef..7e1dfcc 100644
--- a/include/gprs-context.h
+++ b/include/gprs-context.h
@@ -55,7 +55,9 @@ enum ofono_gprs_context_type {
 };
 
 enum ofono_gprs_auth_method {
-       OFONO_GPRS_AUTH_METHOD_CHAP = 0,
+       OFONO_GPRS_AUTH_METHOD_ANY = 0,
+       OFONO_GPRS_AUTH_METHOD_NONE,
+       OFONO_GPRS_AUTH_METHOD_CHAP,
        OFONO_GPRS_AUTH_METHOD_PAP,
 };
 
-- 
1.9.1

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

Reply via email to