summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-15 22:30:20 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-15 22:30:20 +0000
commitd394bb431d8726cc88e1ebbf8d6534966b85d511 (patch)
treeca1c0073b3d44624206be54c81dcdad5ca87a2ed /lib/network/connection
parent1e49560335da4103ea0f3dbfd670a5da64fc6016 (diff)
downloaddrakx-net-d394bb431d8726cc88e1ebbf8d6534966b85d511.tar
drakx-net-d394bb431d8726cc88e1ebbf8d6534966b85d511.tar.gz
drakx-net-d394bb431d8726cc88e1ebbf8d6534966b85d511.tar.bz2
drakx-net-d394bb431d8726cc88e1ebbf8d6534966b85d511.tar.xz
drakx-net-d394bb431d8726cc88e1ebbf8d6534966b85d511.zip
send an empty AT command at the end of the chat session for hso devices (looks like it helps keeping a clean state...)
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/cellular_card.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index a9b70ad..6221bc1 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -118,6 +118,7 @@ sub set_ppp_settings {
# qq(AT+CGEQREQ=3,3,64,384,0,0,2,0,"0E0","0E0",3,0,0),
# Attached to network, will return 1
"AT+CGATT?",
+ if_($self->get_driver eq "hso", ""),
];
$self->SUPER::set_ppp_settings;