summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilip Paeps <philip@paeps.cx>2014-06-24 11:57:06 +0200
committerDenis Kenzior <denkenz@gmail.com>2014-06-24 12:46:18 -0500
commitc144fadca6a7723bbfadde59cc0c2374a4340ca0 (patch)
treed940c4cc6a396221e5ffdbcbb82da277e4893999 /src
parent532e8020e581a4c05cc871dff59e2287bdf594f4 (diff)
downloadofono-c144fadca6a7723bbfadde59cc0c2374a4340ca0.tar.bz2
gprs: provision the authentication method
Diffstat (limited to 'src')
-rw-r--r--src/gprs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gprs.c b/src/gprs.c
index 1efcc0ca..05ab4994 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -3030,6 +3030,8 @@ static void provision_context(const struct ofono_gprs_provision_data *ap,
if (ap->password != NULL)
strcpy(context->context.password, ap->password);
+ context->context.auth_method = ap->auth_method;
+
strcpy(context->context.apn, ap->apn);
context->context.proto = ap->proto;