diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-10-02 18:53:08 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-10-02 18:53:08 +0000 |
commit | 6ac2f7d7447ec8697be4de8a825999b3862114b4 (patch) | |
tree | 5c63d49b5da59b0514a622813ad722cd59bee9ad /lib | |
parent | 7ea449d865c9ba8d50e31d6ee1e3c7075b2f81bd (diff) | |
download | drakx-net-6ac2f7d7447ec8697be4de8a825999b3862114b4.tar drakx-net-6ac2f7d7447ec8697be4de8a825999b3862114b4.tar.gz drakx-net-6ac2f7d7447ec8697be4de8a825999b3862114b4.tar.bz2 drakx-net-6ac2f7d7447ec8697be4de8a825999b3862114b4.tar.xz drakx-net-6ac2f7d7447ec8697be4de8a825999b3862114b4.zip |
set higher priority (1) for encrypted wpa_supplicant networks (based on an idea from Patrick Sinz)
Diffstat (limited to 'lib')
-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') { |