From e2a36bd6bec59f361b528ff861835e5bd2e6e39e Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 10 Oct 2012 16:55:24 +0200 Subject: libmm-glib: allow 'none' authentication with more values Specifying 'none' is really not exclusive. We may want to say that the modem can either authenticate with a given protocol, or otherwise just try without authentication. The reality is that 'none' itself is usually always given in the connection settings. --- src/mm-modem-helpers-qmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mm-modem-helpers-qmi.c b/src/mm-modem-helpers-qmi.c index 84935877..0178fe93 100644 --- a/src/mm-modem-helpers-qmi.c +++ b/src/mm-modem-helpers-qmi.c @@ -887,7 +887,7 @@ mm_bearer_allowed_auth_to_qmi_authentication (MMBearerAllowedAuth auth) { QmiWdsAuthentication out; - out = 0; + out = QMI_WDS_AUTHENTICATION_NONE; if (auth & MM_BEARER_ALLOWED_AUTH_PAP) out |= QMI_WDS_AUTHENTICATION_PAP; if (auth & MM_BEARER_ALLOWED_AUTH_CHAP) -- cgit v1.2.3-70-g09d2