summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/wireless.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-29 01:24:42 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-29 01:24:42 +0000
commit0146639c6ec333e9bfc84a5dbc4da1d9d9ee701e (patch)
tree6ccf3060796c0dbc3efaa7cf7a8f39ad375ac99a /lib/network/connection/wireless.pm
parent19c6752b4379ade49ebd2197fabb98a8b9d13414 (diff)
downloaddrakx-net-0146639c6ec333e9bfc84a5dbc4da1d9d9ee701e.tar
drakx-net-0146639c6ec333e9bfc84a5dbc4da1d9d9ee701e.tar.gz
drakx-net-0146639c6ec333e9bfc84a5dbc4da1d9d9ee701e.tar.bz2
drakx-net-0146639c6ec333e9bfc84a5dbc4da1d9d9ee701e.tar.xz
drakx-net-0146639c6ec333e9bfc84a5dbc4da1d9d9ee701e.zip
style
Diffstat (limited to 'lib/network/connection/wireless.pm')
-rw-r--r--lib/network/connection/wireless.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index c402041..6ba6000 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -345,8 +345,6 @@ sub guess_network_access_settings {
$network && $network->{flags} =~ /wep/i || $self->{access}{network}{key} ?
($restricted ? 'restricted' : 'open') :
'none';
- #load settings if only we use wpa_suuplicant
- wpa_supplicant_load_eap_settings($self->{access}{network}) if $self->need_wpa_supplicant;
undef $self->{ifcfg}{WIRELESS_IWPRIV} if is_old_rt2x00($self->get_driver) && $self->{ifcfg}{WIRELESS_IWPRIV} =~ /WPAPSK/;
@@ -356,6 +354,8 @@ sub guess_network_access_settings {
$network && $network->{mode} ||
$ifcfg->{WIRELESS_MODE} ||
'Managed';
+
+ wpa_supplicant_load_eap_settings($self->{access}{network}) if $self->need_wpa_supplicant;
}
sub get_network_access_settings_label { N("Wireless settings") }