From be4d88a9addf8acfa947fb4d63a1ddb63e4aec5a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 2 May 2008 14:20:39 +0000 Subject: add network to wpa_supplicant config if needed when connecting (drakroam/netcenter) --- lib/network/connection/wireless.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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 { -- cgit v1.2.1