summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-14 18:45:04 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-14 18:45:04 +0000
commitb06a0dc9eef7be3d3cfa2712f152a8a3c22326e0 (patch)
treeb02964395c40567247d8a58610d8928715777d3a /lib/network
parentb33260d9695b8fd781188854f4fe26272edd0f8c (diff)
downloaddrakx-net-b06a0dc9eef7be3d3cfa2712f152a8a3c22326e0.tar
drakx-net-b06a0dc9eef7be3d3cfa2712f152a8a3c22326e0.tar.gz
drakx-net-b06a0dc9eef7be3d3cfa2712f152a8a3c22326e0.tar.bz2
drakx-net-b06a0dc9eef7be3d3cfa2712f152a8a3c22326e0.tar.xz
drakx-net-b06a0dc9eef7be3d3cfa2712f152a8a3c22326e0.zip
use ttyHS0 as modem device for hso devices
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection/cellular_card.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index 7428dd1..8dd1744 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -48,6 +48,8 @@ sub get_tty_device {
"/dev/noz0" :
$self->get_driver eq "cdc_acm" ?
"/dev/ttyACM0" :
+ $self->get_driver eq "hso" ?
+ "/dev/ttyHS0" :
"/dev/ttyUSB0";
}