summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/cellular_card.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-26 17:56:10 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-26 17:56:10 +0000
commit5863a936bb0b5f6cd2ba9d78a62712829fdeb798 (patch)
tree154dc9eb4bd294de8e6d45fcd4a99ab2b8ec30ca /lib/network/connection/cellular_card.pm
parent821190cbe77928ec19073a058c386b098dc30cde (diff)
downloaddrakx-net-5863a936bb0b5f6cd2ba9d78a62712829fdeb798.tar
drakx-net-5863a936bb0b5f6cd2ba9d78a62712829fdeb798.tar.gz
drakx-net-5863a936bb0b5f6cd2ba9d78a62712829fdeb798.tar.bz2
drakx-net-5863a936bb0b5f6cd2ba9d78a62712829fdeb798.tar.xz
drakx-net-5863a936bb0b5f6cd2ba9d78a62712829fdeb798.zip
detect CDMA cellular cards
Diffstat (limited to 'lib/network/connection/cellular_card.pm')
-rw-r--r--lib/network/connection/cellular_card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index c2ad0d4..c549b37 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -10,7 +10,7 @@ sub _get_type_icon() { 'cellular' }
sub get_devices() {
require detect_devices;
my @maybe_usbserial_modules = ('usbserial_generic', 'unknown');
- my @serial = grep { $_->{description} =~ /GPRS|EDGE|3G|UMTS|H.DPA/i } detect_devices::matching_driver('serial_cs', 'usbserial', @maybe_usbserial_modules);
+ 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;
@serial, detect_devices::probe_category('network/cellular');
}