summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-29 01:03:19 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-29 01:03:19 +0000
commit334a18a36a60bd8be38c94eae43e0cd2aa924200 (patch)
tree26925c239f386c5876467a4ca81fd5c9a40e9b20
parent4c980249812e52e7710a3005de182aae704ddca1 (diff)
downloaddrakx-net-334a18a36a60bd8be38c94eae43e0cd2aa924200.tar
drakx-net-334a18a36a60bd8be38c94eae43e0cd2aa924200.tar.gz
drakx-net-334a18a36a60bd8be38c94eae43e0cd2aa924200.tar.bz2
drakx-net-334a18a36a60bd8be38c94eae43e0cd2aa924200.tar.xz
drakx-net-334a18a36a60bd8be38c94eae43e0cd2aa924200.zip
remove unneeded parentheses
-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 82299d7..cfe20e3 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -348,7 +348,7 @@ sub guess_network_access_settings {
$self->{access}{network}{encryption} = "wpa-eap";
}
#load settings if only we use wpa_suuplicant
- wpa_supplicant_load_eap_settings($self->{access}{network}) if ($self->need_wpa_supplicant);
+ 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/;