summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/wireless.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-29 01:42:39 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-29 01:42:39 +0000
commit8a4526a10d04df5196100ff0c6542aae48081130 (patch)
tree641760a9b053fffd905fe5e77e26c9ff8656b0df /lib/network/connection/wireless.pm
parent8c92975f8c82a5f6bee8296d7bf15fd68c208e59 (diff)
downloaddrakx-net-8a4526a10d04df5196100ff0c6542aae48081130.tar
drakx-net-8a4526a10d04df5196100ff0c6542aae48081130.tar.gz
drakx-net-8a4526a10d04df5196100ff0c6542aae48081130.tar.bz2
drakx-net-8a4526a10d04df5196100ff0c6542aae48081130.tar.xz
drakx-net-8a4526a10d04df5196100ff0c6542aae48081130.zip
be stricter
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 2209f2a..ccdb49d 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -533,7 +533,7 @@ sub get_control_settings {
sub need_wpa_supplicant {
my ($self) = @_;
- ($self->{control}{roaming} || $self->{access}{network}{encryption} =~ /wpa/i) && !is_old_rt2x00($self->get_driver);
+ ($self->{control}{roaming} || $self->{access}{network}{encryption} =~ /^wpa-/) && !is_old_rt2x00($self->get_driver);
}
sub install_packages {