projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a554106
)
Add more debug output for known networks
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 24 Mar 2008 10:29:05 +0000
(11:29 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 24 Mar 2008 10:29:05 +0000
(11:29 +0100)
src/iface-storage.c
patch
|
blob
|
history
diff --git
a/src/iface-storage.c
b/src/iface-storage.c
index
7872f7c
..
6694d99
100644
(file)
--- a/
src/iface-storage.c
+++ b/
src/iface-storage.c
@@
-63,14
+63,19
@@
char *__connman_iface_find_passphrase(struct connman_iface *iface,
list = g_key_file_get_string_list(keyfile, GROUP_CONFIG,
"KnownNetworks", &list_len, NULL);
- for (i = 0; i < list_len; i++)
+ for (i = 0; i < list_len; i++) {
+ DBG("known network %s", list[i]);
+
if (g_str_equal(list[i], network) == TRUE) {
+ DBG("found network %s", network);
+
result = g_key_file_get_string(keyfile, network,
"PSK", NULL);
if (result == NULL)
result = g_strdup("");
break;
}
+ }
g_strfreev(list);