summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-15 22:19:54 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-15 22:19:54 +0000
commit391ca2b933c74a3301caec04de5acfe5746a1acf (patch)
tree1e4abdc5ab1903f173f263ded46a881f09fa2e0f
parent3d1133fdee36a9e179cdd119d4308b31f3988a99 (diff)
downloaddrakx-net-391ca2b933c74a3301caec04de5acfe5746a1acf.tar
drakx-net-391ca2b933c74a3301caec04de5acfe5746a1acf.tar.gz
drakx-net-391ca2b933c74a3301caec04de5acfe5746a1acf.tar.bz2
drakx-net-391ca2b933c74a3301caec04de5acfe5746a1acf.tar.xz
drakx-net-391ca2b933c74a3301caec04de5acfe5746a1acf.zip
do not forget to call SUPER...
-rw-r--r--lib/network/connection/cellular_bluetooth.pm2
-rw-r--r--lib/network/connection/cellular_card.pm2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/network/connection/cellular_bluetooth.pm b/lib/network/connection/cellular_bluetooth.pm
index bd241b6..d320a6e 100644
--- a/lib/network/connection/cellular_bluetooth.pm
+++ b/lib/network/connection/cellular_bluetooth.pm
@@ -75,6 +75,8 @@ sub set_ppp_settings {
$self->{access}{cid} = 1;
$self->{access}{at_commands} = [ qq(AT+CGDCONT=$self->{access}{cid},"IP","$self->{access}{apn}") ];
+
+ $self->SUPER::set_ppp_settings;
}
sub write_settings {
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index 78e35dc..e26d11e 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -117,6 +117,8 @@ sub set_ppp_settings {
# Attached to network, will return 1
"AT+CGATT?",
];
+
+ $self->SUPER::set_ppp_settings;
}
sub write_settings {