summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-10-20 10:42:27 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-10-20 10:42:27 +0000
commit221fa6d7f253a99c3ce9a095d07b72a9f8e25f31 (patch)
tree23cc7b53667ba5a6337dcd8d47f2e51df28fb965 /lib/network/netcenter.pm
parent4581abbc3ded50b66e00bddbaab355f2c788fd3e (diff)
downloaddrakx-net-221fa6d7f253a99c3ce9a095d07b72a9f8e25f31.tar
drakx-net-221fa6d7f253a99c3ce9a095d07b72a9f8e25f31.tar.gz
drakx-net-221fa6d7f253a99c3ce9a095d07b72a9f8e25f31.tar.bz2
drakx-net-221fa6d7f253a99c3ce9a095d07b72a9f8e25f31.tar.xz
drakx-net-221fa6d7f253a99c3ce9a095d07b72a9f8e25f31.zip
There is no real reason to asking for changing the regulatory domain, just
do it automatically.
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 7e484b5..29e2232 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -137,10 +137,8 @@ sub advanced_settings {
network::network::advanced_settings_write($u);
# check if the CRDA changed
if ($old_crda ne $net->{network}{CRDA_DOMAIN}) {
- if ($in->ask_okcancel(N("Wireless"), N("Do you want to apply new wireless regulation settings now?"), 1)) {
- # restarting network
- run_program::run("iw", "reg", "set", $net->{network}{CRDA_DOMAIN});
- }
+ # reconfiguring wireless domain
+ run_program::run("iw", "reg", "set", $net->{network}{CRDA_DOMAIN});
}
network::network::write_network_conf($net);
}