summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-13 17:46:04 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-13 17:46:04 +0000
commit5322f539a136fe7061f35b61a3252b90a998200e (patch)
treeebedc9a4e8ad4d6933f70405590c0a1d20b26c64
parentaa392b988fb64c4002a2535d193ea50aa82c23d4 (diff)
downloaddrakx-net-5322f539a136fe7061f35b61a3252b90a998200e.tar
drakx-net-5322f539a136fe7061f35b61a3252b90a998200e.tar.gz
drakx-net-5322f539a136fe7061f35b61a3252b90a998200e.tar.bz2
drakx-net-5322f539a136fe7061f35b61a3252b90a998200e.tar.xz
drakx-net-5322f539a136fe7061f35b61a3252b90a998200e.zip
fix typo
-rw-r--r--lib/network/connection/wireless.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index cac7bcc..21aed62 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -655,7 +655,7 @@ set TxRate=0)),
$self->SUPER::build_ifcfg_settings($settings);
}
-sub add_nework_to_wpa_supplicant {
+sub add_network_to_wpa_supplicant {
my ($self) = @_;
if ($self->{access}{network}{encryption} eq 'wpa-eap') {
wpa_supplicant_add_eap_network($self->{access}{network});
@@ -671,7 +671,7 @@ sub write_settings {
network::network::write_wireless_conf($_, $self->build_ifcfg_settings) foreach
grep { $_ } ($network ? $network->{ap} : ()), $self->{access}{network}{essid};
- $self->add_nework_to_wpa_supplicant if $self->need_wpa_supplicant;
+ $self->add_network_to_wpa_supplicant if $self->need_wpa_supplicant;
wlan_ng_configure($self->{access}{network}{essid}, $self->{access}{network}{key}, $self->get_interface, $self->get_driver) if $self->{thirdparty}{name} eq 'prism2';
@@ -684,7 +684,7 @@ sub apply_network_selection {
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;
+ $self->add_network_to_wpa_supplicant if $self->need_wpa_supplicant;
}
sub network_is_configured {