#include <netdb.h>
#include <gdbus.h>
+#include <connman/storage.h>
+
#include "connman.h"
#define CONNECT_TIMEOUT 120
DBG("service %p", service);
- keyfile = __connman_storage_load_service(service->identifier);
+ keyfile = connman_storage_load_service(service->identifier);
if (keyfile == NULL)
return -EIO;
{
GKeyFile *keyfile;
gchar *str;
+ guint freq;
const char *cst_str = NULL;
int err = 0;
g_string_free(str, TRUE);
}
+
+ freq = connman_network_get_frequency(service->network);
+ g_key_file_set_integer(keyfile, service->identifier,
+ "Frequency", freq);
}
/* fall through */
if (service->userconnect == TRUE) {
if (err == -ENOKEY) {
- if (__connman_agent_request_input(service,
+ if (__connman_agent_request_passphrase_input(service,
request_input_cb,
NULL) == -EIO)
return -EINPROGRESS;
if (service->ipconfig_ipv6 == NULL)
return;
- keyfile = __connman_storage_load_service(service->identifier);
+ keyfile = connman_storage_load_service(service->identifier);
if (keyfile == NULL)
return;