diff options
-rw-r--r-- | lib/network/connection/wireless.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm index d8217b1..1111cf6 100644 --- a/lib/network/connection/wireless.pm +++ b/lib/network/connection/wireless.pm @@ -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$/; |