mirror of git://git.sysmocom.de/ofono
gprs-context: added OFONO_GPRS_AUTH_METHOD_NONE
This method makes explicit the lack of authentication. When selected, the username and password are ignored, but they are not changed in the user-defined properties for the context. This treatment is necessary to allow setting independently auth_method, username and password. This method is also selected implicitly when username is set to an empty string. Also this selection is done without changing the user-defined auth_method for the context, so that the behavior is consistent.
This commit is contained in:
parent
f2fa45b830
commit
6cf24fe1f9
|
@ -57,6 +57,7 @@ enum ofono_gprs_context_type {
|
|||
enum ofono_gprs_auth_method {
|
||||
OFONO_GPRS_AUTH_METHOD_CHAP = 0,
|
||||
OFONO_GPRS_AUTH_METHOD_PAP,
|
||||
OFONO_GPRS_AUTH_METHOD_NONE,
|
||||
};
|
||||
|
||||
struct ofono_gprs_primary_context {
|
||||
|
|
Loading…
Reference in New Issue