From: Marcel Holtmann Date: Mon, 5 Jan 2009 01:21:39 +0000 (+0100) Subject: Use device and network specific storage helpers X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~4155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d5856602967fb8e1055bb5923bac117093a8214;p=profile%2Fivi%2Fconnman.git Use device and network specific storage helpers --- diff --git a/src/device.c b/src/device.c index 9a8f07a..eb52ff6 100644 --- a/src/device.c +++ b/src/device.c @@ -347,7 +347,7 @@ static DBusMessage *set_property(DBusConnection *conn, return __connman_error_failed(msg); } - __connman_element_store(&device->element); + __connman_storage_save_device(device); return g_dbus_create_reply(msg, DBUS_TYPE_INVALID); } diff --git a/src/network.c b/src/network.c index 1d7cc33..c41f5f2 100644 --- a/src/network.c +++ b/src/network.c @@ -154,6 +154,8 @@ static DBusMessage *set_property(DBusConnection *conn, network->wifi.passphrase = g_strdup(passphrase); } + __connman_storage_save_network(network); + return g_dbus_create_reply(msg, DBUS_TYPE_INVALID); }