summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/cellular_card.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-15 22:04:31 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-15 22:04:31 +0000
commit1b3e50b2d7af1700f89ac6fb46ac54c52c9cc7f5 (patch)
treed083259607ccd809817ae09df15e7d5740d57574 /lib/network/connection/cellular_card.pm
parent0f974a903757136323392df22f62d0425792e6f3 (diff)
downloaddrakx-net-1b3e50b2d7af1700f89ac6fb46ac54c52c9cc7f5.tar
drakx-net-1b3e50b2d7af1700f89ac6fb46ac54c52c9cc7f5.tar.gz
drakx-net-1b3e50b2d7af1700f89ac6fb46ac54c52c9cc7f5.tar.bz2
drakx-net-1b3e50b2d7af1700f89ac6fb46ac54c52c9cc7f5.tar.xz
drakx-net-1b3e50b2d7af1700f89ac6fb46ac54c52c9cc7f5.zip
write cellular settings later (should not change behavior)
Diffstat (limited to 'lib/network/connection/cellular_card.pm')
-rw-r--r--lib/network/connection/cellular_card.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index 3e50bba..2253a5d 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -107,8 +107,6 @@ sub build_peer {
sub write_settings {
my ($self) = @_;
- $self->write_cellular_settings;
-
my $interface = $self->get_interface;
my $pin_file = "/etc/sysconfig/network-scripts/pin-$interface";
@@ -127,6 +125,7 @@ sub write_settings {
];
$self->{access}{dial_number} = "*99***$cid#";
+ $self->write_cellular_settings;
$self->SUPER::write_settings;
}