summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/cellular_card.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-19 12:57:27 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-19 12:57:27 +0000
commit16cae9df7ce8f494c14ba64f2fa30c57e90f09e8 (patch)
tree29dc6448ccb444378e61dfc5747b1d88cade139f /lib/network/connection/cellular_card.pm
parent2330216533c49ffa1f248b7fd445dc755870ba24 (diff)
downloaddrakx-net-16cae9df7ce8f494c14ba64f2fa30c57e90f09e8.tar
drakx-net-16cae9df7ce8f494c14ba64f2fa30c57e90f09e8.tar.gz
drakx-net-16cae9df7ce8f494c14ba64f2fa30c57e90f09e8.tar.bz2
drakx-net-16cae9df7ce8f494c14ba64f2fa30c57e90f09e8.tar.xz
drakx-net-16cae9df7ce8f494c14ba64f2fa30c57e90f09e8.zip
do not incorrectly provide get_networks in network::connection
Diffstat (limited to 'lib/network/connection/cellular_card.pm')
-rw-r--r--lib/network/connection/cellular_card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index bf14ccb..432a048 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -76,6 +76,7 @@ sub get_networks {
my $cmd = 'comgt -d ' . $self->get_control_device;
my ($network, $state) = `$cmd reg` =~ /^Registered on \w+ network: "(.*)",(\d+)$/m;
my ($strength) = `$cmd sig` =~ /^Signal Quality:\s+(\d+),\d+$/;
+ $self->probed_networks;
$self->{networks} = $network && {
$network => {
name => $network,
@@ -83,7 +84,6 @@ sub get_networks {
current => $state == 2,
}
};
- $self->SUPER::get_networks;
}
sub get_hardware_settings {