summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/cellular_bluetooth.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/connection/cellular_bluetooth.pm')
-rw-r--r--lib/network/connection/cellular_bluetooth.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/network/connection/cellular_bluetooth.pm b/lib/network/connection/cellular_bluetooth.pm
index 0f89b2c..3adee03 100644
--- a/lib/network/connection/cellular_bluetooth.pm
+++ b/lib/network/connection/cellular_bluetooth.pm
@@ -73,9 +73,9 @@ sub search_services {
sub set_ppp_settings {
my ($self) = @_;
- my $cid = 1;
- $self->{access}{at_commands} = [ qq(AT+CGDCONT=$cid,"IP","$self->{access}{apn}") ];
- $self->{access}{dial_number} = "*99***$cid#";
+ $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 {