summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-15 22:15:44 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-15 22:15:44 +0000
commit1d3c22d0e09651021da57cdecb9e5d86ce325a8d (patch)
treed41c73c1d4225a7459e38bb9283359ac1c687754 /lib/network
parent0bcedcfde59e8a9114e9c360ff1ec7e8b5d98698 (diff)
downloaddrakx-net-1d3c22d0e09651021da57cdecb9e5d86ce325a8d.tar
drakx-net-1d3c22d0e09651021da57cdecb9e5d86ce325a8d.tar.gz
drakx-net-1d3c22d0e09651021da57cdecb9e5d86ce325a8d.tar.bz2
drakx-net-1d3c22d0e09651021da57cdecb9e5d86ce325a8d.tar.xz
drakx-net-1d3c22d0e09651021da57cdecb9e5d86ce325a8d.zip
do not set dial number in cellular subclasses, to be factorized in network::connection::cellular::set_ppp_settings
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection/cellular_bluetooth.pm1
-rw-r--r--lib/network/connection/cellular_card.pm1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/network/connection/cellular_bluetooth.pm b/lib/network/connection/cellular_bluetooth.pm
index 3adee03..bd241b6 100644
--- a/lib/network/connection/cellular_bluetooth.pm
+++ b/lib/network/connection/cellular_bluetooth.pm
@@ -75,7 +75,6 @@ sub set_ppp_settings {
$self->{access}{cid} = 1;
$self->{access}{at_commands} = [ qq(AT+CGDCONT=$self->{access}{cid},"IP","$self->{access}{apn}") ];
- $self->{access}{dial_number} = "*99***$self->{access}{cid}#";
}
sub write_settings {
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index c349c90..78e35dc 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -117,7 +117,6 @@ sub set_ppp_settings {
# Attached to network, will return 1
"AT+CGATT?",
];
- $self->{access}{dial_number} = "*99***$self->{access}{cid}#";
}
sub write_settings {