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.
This commit is contained in:
Aleksander Morgado
2012-10-10 16:55:24 +02:00
parent 255ac4364d
commit e2a36bd6be
2 changed files with 1 additions and 11 deletions
+1 -1
View File
@@ -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)