From 1d3c22d0e09651021da57cdecb9e5d86ce325a8d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 15 May 2008 22:15:44 +0000 Subject: do not set dial number in cellular subclasses, to be factorized in network::connection::cellular::set_ppp_settings --- lib/network/connection/cellular_bluetooth.pm | 1 - lib/network/connection/cellular_card.pm | 1 - 2 files changed, 2 deletions(-) (limited to 'lib/network/connection') 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 { -- cgit v1.2.1