summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-02 14:20:39 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-02 14:20:39 +0000
commitbe4d88a9addf8acfa947fb4d63a1ddb63e4aec5a (patch)
tree4a756044efd7dc22abaf093e1a1423288385b342 /lib
parentc884a5d4dded72a4f334bf38e6764e6b2bcb4f8e (diff)
downloaddrakx-net-be4d88a9addf8acfa947fb4d63a1ddb63e4aec5a.tar
drakx-net-be4d88a9addf8acfa947fb4d63a1ddb63e4aec5a.tar.gz
drakx-net-be4d88a9addf8acfa947fb4d63a1ddb63e4aec5a.tar.bz2
drakx-net-be4d88a9addf8acfa947fb4d63a1ddb63e4aec5a.tar.xz
drakx-net-be4d88a9addf8acfa947fb4d63a1ddb63e4aec5a.zip
add network to wpa_supplicant config if needed when connecting (drakroam/netcenter)
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection/wireless.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index 18f312f..62c4bb2 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -627,6 +627,8 @@ sub apply_network_selection {
require network::network;
my $file = network::network::get_ifcfg_file($self->get_interface);
network::network::write_interface_settings($self->build_ifcfg_settings, $file);
+
+ $self->add_nework_to_wpa_supplicant if $self->need_wpa_supplicant;
}
sub network_is_configured {