wifi: Always Scan hidden APs
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Tue, 21 Aug 2012 10:55:08 +0000 (13:55 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 22 Aug 2012 06:01:47 +0000 (09:01 +0300)
We should scan hidden AP even if the AP is not marked
as autoconnectable so that the user is able to connect
to it manually.

plugins/wifi.c

index 6329bf3..13c4d0f 100644 (file)
@@ -376,13 +376,6 @@ static int get_hidden_connections(int max_ssids,
                        continue;
                }
 
-               value = g_key_file_get_boolean(keyfile,
-                                       services[i], "AutoConnect", NULL);
-               if (value == FALSE) {
-                       g_key_file_free(keyfile);
-                       continue;
-               }
-
                ssid = g_key_file_get_string(keyfile,
                                        services[i], "SSID", NULL);