summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-05-04 14:22:15 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-05-04 14:22:15 +0000
commit89a203adbd7d295502463ac628f50d90d943f9a6 (patch)
treeae146fc3a50ba7b09efb745e4ba681d5cdf28fbe /lib/network/connection
parent330806c782f8e63768a28d3091b67845d0f395d8 (diff)
downloaddrakx-net-89a203adbd7d295502463ac628f50d90d943f9a6.tar
drakx-net-89a203adbd7d295502463ac628f50d90d943f9a6.tar.gz
drakx-net-89a203adbd7d295502463ac628f50d90d943f9a6.tar.bz2
drakx-net-89a203adbd7d295502463ac628f50d90d943f9a6.tar.xz
drakx-net-89a203adbd7d295502463ac628f50d90d943f9a6.zip
Removed hack for sierra module (now handled by list_modules.pm).
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/cellular_card.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index e86f1bc..ccfeba5 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -15,8 +15,7 @@ sub get_devices() {
my @serial = grep { $_->{description} =~ /GPRS|EDGE|3G|UMTS|H.DPA|CDMA/i } detect_devices::matching_driver('serial_cs', 'usbserial', @maybe_usbserial_modules);
member($_->{driver}, @maybe_usbserial_modules) and $_->{driver} = 'usbserial' foreach @serial;
#- cdc_acm can not be listed directly in network/cellular, it is already in network/isdn
- #- sierra wireless is also not detected as a 3G card
- @serial, detect_devices::probe_category('network/cellular'), detect_devices::matching_driver('cdc_acm', 'sierra');
+ @serial, detect_devices::probe_category('network/cellular'), detect_devices::matching_driver('cdc_acm');
}
sub get_metric { 40 }