summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 23916f74..a6c764ca 100644
--- a/src/service.c
+++ b/src/service.c
@@ -469,6 +469,7 @@ static int service_save(struct connman_service *service)
{
GKeyFile *keyfile;
gchar *str;
+ guint freq;
const char *cst_str = NULL;
int err = 0;
@@ -518,6 +519,10 @@ static int service_save(struct connman_service *service)
g_string_free(str, TRUE);
}
+
+ freq = connman_network_get_frequency(service->network);
+ g_key_file_set_integer(keyfile, service->identifier,
+ "Frequency", freq);
}
/* fall through */