summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/wireless.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-13 17:55:10 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-13 17:55:10 +0000
commit5bb276443850a9540c2be8b7c81ed6c7e7f6547d (patch)
tree49960e99d0a874211b50f3a90ada8ff371c54e23 /lib/network/connection/wireless.pm
parent5322f539a136fe7061f35b61a3252b90a998200e (diff)
downloaddrakx-net-5bb276443850a9540c2be8b7c81ed6c7e7f6547d.tar
drakx-net-5bb276443850a9540c2be8b7c81ed6c7e7f6547d.tar.gz
drakx-net-5bb276443850a9540c2be8b7c81ed6c7e7f6547d.tar.bz2
drakx-net-5bb276443850a9540c2be8b7c81ed6c7e7f6547d.tar.xz
drakx-net-5bb276443850a9540c2be8b7c81ed6c7e7f6547d.zip
run wpa_cli reconfigure after writing network settings in wpa config file
Diffstat (limited to 'lib/network/connection/wireless.pm')
-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 21aed62..823be56 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -662,6 +662,8 @@ sub add_network_to_wpa_supplicant {
} else {
wpa_supplicant_add_network($self->{access}{network}{essid}, $self->{access}{network}{bssid}, $self->{access}{network}{encryption}, $self->{access}{network}{key}, $self->{access}{network}{force_ascii_key}, $self->{access}{network}{mode});
}
+ #- this should be handled by the monitoring daemon instead
+ run_program::run('/usr/sbin/wpa_cli', 'reconfigure');
}
sub write_settings {