diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-02-29 01:06:34 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-02-29 01:06:34 +0000 |
commit | eeb78d394dfc82e2e53effa89eb5c93045c85770 (patch) | |
tree | b3cea9febf73c947a2f5c3be03a801144491a621 /lib/network/connection | |
parent | ff95fe6d6d2461cdfe6ccdaee2c14004c233db46 (diff) | |
download | drakx-net-eeb78d394dfc82e2e53effa89eb5c93045c85770.tar drakx-net-eeb78d394dfc82e2e53effa89eb5c93045c85770.tar.gz drakx-net-eeb78d394dfc82e2e53effa89eb5c93045c85770.tar.bz2 drakx-net-eeb78d394dfc82e2e53effa89eb5c93045c85770.tar.xz drakx-net-eeb78d394dfc82e2e53effa89eb5c93045c85770.zip |
remove unneeded parentheses
Diffstat (limited to 'lib/network/connection')
-rw-r--r-- | lib/network/connection/wireless.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm index 8dbe19c..a068527 100644 --- a/lib/network/connection/wireless.pm +++ b/lib/network/connection/wireless.pm @@ -885,7 +885,7 @@ sub wpa_supplicant_load_eap_settings { if ($old_net->{ssid} eq $network->{essid} || $old_net->{ssid} eq $quoted_essid) { $network->{eapextra} = ''; foreach $myone (keys %$myeap_vars) { - next if ($myone eq 'ssid'); + next if $myone eq 'ssid'; $ui_var = join('_', "eap", $myone); if (defined $old_net->{$myone}) { if ($myeap_vars->{$myone} == 0) { @@ -899,7 +899,7 @@ sub wpa_supplicant_load_eap_settings { #case > 1 or 2 $network->{$ui_var} = "$old_net->{$myone}"; #Remove quotes on selected variables - $network->{$ui_var} = "$1" if ($myeap_vars->{$myone} == 2 && $network->{$ui_var} =~ /^"(.*)"$/); + $network->{$ui_var} = "$1" if $myeap_vars->{$myone} == 2 && $network->{$ui_var} =~ /^"(.*)"$/; if ($myone eq "proto") { $network->{forceeap} = 'WPA2' if ($old_net->{$myone} =~ /^RSN$/); $network->{forceeap} = 'WPA' if ($old_net->{$myone} =~ /^WPA$/); |