summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/network.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index c2cf30dd5..ff1641d75 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -515,10 +515,10 @@ sub wlan_ng_configure {
dot11WEPDefaultKey0 => qq("$ethntf->{WIRELESS_ENC_KEY}")
)
});
- #- apply settings on wlan interface
- require services;
- services::restart($module eq 'prism2_cs' ? 'pcmcia' : 'wlan');
}
+ #- apply settings on wlan interface
+ require services;
+ services::restart($module eq 'prism2_cs' ? 'pcmcia' : 'wlan');
}
sub wpa_supplicant_add_network {