From 1b3e50b2d7af1700f89ac6fb46ac54c52c9cc7f5 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 15 May 2008 22:04:31 +0000 Subject: write cellular settings later (should not change behavior) --- lib/network/connection/cellular_bluetooth.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/network/connection/cellular_bluetooth.pm') diff --git a/lib/network/connection/cellular_bluetooth.pm b/lib/network/connection/cellular_bluetooth.pm index 6e334ca..80c6cb4 100644 --- a/lib/network/connection/cellular_bluetooth.pm +++ b/lib/network/connection/cellular_bluetooth.pm @@ -73,8 +73,6 @@ sub search_services { sub write_settings { my ($self) = @_; - $self->write_cellular_settings; - my $dev = $self->get_rfcomm_device; output("$::prefix/etc/bluetooth/rfcomm.conf", qq( rfcomm$dev { @@ -89,6 +87,7 @@ rfcomm$dev { $self->{access}{at_commands} = [ qq(AT+CGDCONT=$cid,"IP","$self->{access}{apn}") ]; $self->{access}{dial_number} = "*99***$cid#"; + $self->write_cellular_settings; $self->SUPER::write_settings; } -- cgit v1.2.1