summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-06 10:55:37 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-06 10:55:37 +0000
commit6a96f8a81a27e2019c56b7a2a2fc6e29db4c0aae (patch)
treee78ba35ca6ea904f342e8cb17343415bc645e021
parenteb214123be5e1da02ee357a777d8af47a6a0ff63 (diff)
downloaddrakx-net-6a96f8a81a27e2019c56b7a2a2fc6e29db4c0aae.tar
drakx-net-6a96f8a81a27e2019c56b7a2a2fc6e29db4c0aae.tar.gz
drakx-net-6a96f8a81a27e2019c56b7a2a2fc6e29db4c0aae.tar.bz2
drakx-net-6a96f8a81a27e2019c56b7a2a2fc6e29db4c0aae.tar.xz
drakx-net-6a96f8a81a27e2019c56b7a2a2fc6e29db4c0aae.zip
(get_tty_device) fix device path for "cdc_acm" (mga#3841)
-rw-r--r--NEWS2
-rw-r--r--lib/network/connection/cellular_card.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 0784bbd..c7801d8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix device path for "cdc_acm" (mga#3841)
+
1.15.1:
- remove invalid character in source code that makes drakx-net tools crash
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index c68b3a2..d879b19 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -98,7 +98,7 @@ sub get_tty_device {
$self->get_driver eq "nozomi" ?
"/dev/noz" . $tty_interface :
$self->get_driver eq "cdc_acm" ?
- "/dev/ttyACM" . $tty_interface :
+ "/dev/ttyACM0" . $tty_interface :
$self->get_driver eq "hso" ?
"/dev/ttyHS" . $tty_interface :
"/dev/ttyUSB" . $tty_interface;