diff options
author | Herton Ronaldo Krzesinski <herton@mandriva.com.br> | 2009-11-12 21:31:35 +0000 |
---|---|---|
committer | Herton Ronaldo Krzesinski <herton@mandriva.com.br> | 2009-11-12 21:31:35 +0000 |
commit | 81cffa9a154f78f5199489f9abd7fd1d0132477a (patch) | |
tree | d76c41223fc9fe2d89cd6157527b09ea163e16bd /lib/network/connection/cellular_card.pm | |
parent | 4f22e156b24ef69cc5ac3f60103b1707c78233af (diff) | |
download | drakx-net-81cffa9a154f78f5199489f9abd7fd1d0132477a.tar drakx-net-81cffa9a154f78f5199489f9abd7fd1d0132477a.tar.gz drakx-net-81cffa9a154f78f5199489f9abd7fd1d0132477a.tar.bz2 drakx-net-81cffa9a154f78f5199489f9abd7fd1d0132477a.tar.xz drakx-net-81cffa9a154f78f5199489f9abd7fd1d0132477a.zip |
minor identation fixes
Diffstat (limited to 'lib/network/connection/cellular_card.pm')
-rw-r--r-- | lib/network/connection/cellular_card.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index 57f2111..0fc3fbf 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -76,7 +76,7 @@ sub get_tty_device { $udev_env{USB_MODEM_INTERFACE} . "/ttyUSB*")); if ($tty_usb) { $tty_usb =~ s/ttyUSB//; - $tty_interface = $tty_usb; + $tty_interface = $tty_usb; } } else { # if no usb interface for tty port given, use first one @@ -84,11 +84,11 @@ sub get_tty_device { $self->{device}->{pci_bus} . "-" . ($self->{device}->{usb_port} + 1) . ":*"); foreach (@intfs) { - my $tty_usb = basename(glob_("$_/tty*")); - if ($tty_usb) { + my $tty_usb = basename(glob_("$_/tty*")); + if ($tty_usb) { $tty_usb =~ s/tty[a-zA-Z]*//; $tty_interface = $tty_usb; - last; + last; } } } |