From 5863a936bb0b5f6cd2ba9d78a62712829fdeb798 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 26 Sep 2007 17:56:10 +0000 Subject: detect CDMA cellular cards --- lib/network/connection/cellular_card.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } -- cgit v1.2.1