summaryrefslogtreecommitdiffstats
path: root/src/gprs.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-01-26 14:51:09 -0600
committerDenis Kenzior <denkenz@gmail.com>2011-01-26 14:55:59 -0600
commit04ce2bd8cc0b9ea9265575d7423f573220d0a6b3 (patch)
tree5815ee05bccd3d2f3143acf107bd5e14faace032 /src/gprs.c
parent71e5278ce6f189ee4cc356101d31c068d84a9fe4 (diff)
downloadofono-04ce2bd8cc0b9ea9265575d7423f573220d0a6b3.tar.bz2
gprs: write out MessageCenter and MessageProxy
These values were not written out to settings
Diffstat (limited to 'src/gprs.c')
-rw-r--r--src/gprs.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gprs.c b/src/gprs.c
index 7fad23b0..1ec9f6e6 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -1606,6 +1606,15 @@ static void write_context_settings(struct ofono_gprs *gprs,
gprs_context_type_to_string(context->type));
g_key_file_set_string(gprs->settings, context->key, "Protocol",
gprs_proto_to_string(context->context.proto));
+
+ if (context->type == OFONO_GPRS_CONTEXT_TYPE_MMS) {
+ g_key_file_set_string(gprs->settings, context->key,
+ "MessageProxy",
+ context->message_proxy);
+ g_key_file_set_string(gprs->settings, context->key,
+ "MessageCenter",
+ context->message_center);
+ }
}
static struct pri_context *add_context(struct ofono_gprs *gprs,