summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-29 01:38:19 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-29 01:38:19 +0000
commitb2806dfb42f4093605d7f651a5f7f3210c02e8d4 (patch)
tree8a58660901d9b1808970b566eb4951ff35954a6e /lib
parentbf53578c2cf69c4f1f152d87034e7df13b363dc8 (diff)
downloaddrakx-net-b2806dfb42f4093605d7f651a5f7f3210c02e8d4.tar
drakx-net-b2806dfb42f4093605d7f651a5f7f3210c02e8d4.tar.gz
drakx-net-b2806dfb42f4093605d7f651a5f7f3210c02e8d4.tar.bz2
drakx-net-b2806dfb42f4093605d7f651a5f7f3210c02e8d4.tar.xz
drakx-net-b2806dfb42f4093605d7f651a5f7f3210c02e8d4.zip
style/indentation
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection/wireless.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index b8630d5..8b7d856 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -574,11 +574,9 @@ sub write_settings {
if ($self->need_wpa_supplicant) {
if ($self->{access}{network}{encryption} =~ /eap/i) {
- #for eap
- wpa_supplicant_add_eap_network($self->{access}{network});
+ wpa_supplicant_add_eap_network($self->{access}{network});
} else {
- #For WEP/PSK
- wpa_supplicant_add_network($self->{access}{network}{essid}, $self->{access}{network}{encryption}, $self->{access}{network}{key}, $self->{access}{network}{mode});
+ wpa_supplicant_add_network($self->{access}{network}{essid}, $self->{access}{network}{encryption}, $self->{access}{network}{key}, $self->{access}{network}{mode});
}
}