diff options
Diffstat (limited to 'lib/network/connection/wireless.pm')
-rw-r--r-- | lib/network/connection/wireless.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm index f33e657..cac7bcc 100644 --- a/lib/network/connection/wireless.pm +++ b/lib/network/connection/wireless.pm @@ -865,6 +865,7 @@ sub wpa_supplicant_add_network { ssid => qq("$essid"), scan_ssid => to_bool($bssid), #- hidden or non-broadcasted SSIDs if_($bssid, bssid => $bssid), + if_($enc_mode ne 'none', priority => 1), }; if ($enc_mode eq 'wpa-psk') { |