projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d08e0e
)
Only scan for hidden SSIDs from your favorites
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 10 Jun 2010 23:24:26 +0000
(16:24 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 10 Jun 2010 23:24:26 +0000
(16:24 -0700)
src/wifi.c
patch
|
blob
|
history
diff --git
a/src/wifi.c
b/src/wifi.c
index
a663f17
..
e645969
100644
(file)
--- a/
src/wifi.c
+++ b/
src/wifi.c
@@
-77,9
+77,15
@@
char **connman_wifi_load_ssid(void)
for (i = 0, j = 0; groups[i]; i++) {
gchar *hex_ssid;
+ gboolean favorite;
group = groups[i];
+ favorite = g_key_file_get_boolean(key_file, group,
+ "Favorite", NULL);
+ if (favorite == FALSE)
+ continue;
+
hex_ssid = g_key_file_get_string(key_file, group,
"SSID", NULL);
if (hex_ssid == NULL)