summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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),
};