summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/wireless.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-02 18:52:11 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-02 18:52:11 +0000
commit7ea449d865c9ba8d50e31d6ee1e3c7075b2f81bd (patch)
tree90c6ffd416071a77365a09a1ab0a5635871f2ea7 /lib/network/connection/wireless.pm
parent3723e9f74b377fb861443d7fb47add8091744afe (diff)
downloaddrakx-net-7ea449d865c9ba8d50e31d6ee1e3c7075b2f81bd.tar
drakx-net-7ea449d865c9ba8d50e31d6ee1e3c7075b2f81bd.tar.gz
drakx-net-7ea449d865c9ba8d50e31d6ee1e3c7075b2f81bd.tar.bz2
drakx-net-7ea449d865c9ba8d50e31d6ee1e3c7075b2f81bd.tar.xz
drakx-net-7ea449d865c9ba8d50e31d6ee1e3c7075b2f81bd.zip
set scan_ssid to 1 only for hidden or non-broadcasted SSIDs (based on an idea from Pascal Terjan)
Diffstat (limited to 'lib/network/connection/wireless.pm')
-rw-r--r--lib/network/connection/wireless.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index 61217dc..f33e657 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -863,7 +863,7 @@ sub wpa_supplicant_add_network {
my $conf = wpa_supplicant_read_conf();
my $network = {
ssid => qq("$essid"),
- scan_ssid => 1,
+ scan_ssid => to_bool($bssid), #- hidden or non-broadcasted SSIDs
if_($bssid, bssid => $bssid),
};