diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-06-10 16:24:26 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-06-10 16:24:26 -0700 |
commit | 767a1101de2ede819d809d216b7be9c311825171 (patch) | |
tree | cef45e452fa7fc33e923c3c224275c97023a0f43 /src/wifi.c | |
parent | 1d08e0e69265bf7f4cb634d3eef82d742b17956c (diff) | |
download | connman-767a1101de2ede819d809d216b7be9c311825171.tar.gz connman-767a1101de2ede819d809d216b7be9c311825171.tar.bz2 connman-767a1101de2ede819d809d216b7be9c311825171.zip |
Only scan for hidden SSIDs from your favorites
Diffstat (limited to 'src/wifi.c')
-rw-r--r-- | src/wifi.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |