summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-05-04 13:41:41 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-05-04 13:41:41 +0000
commita6d04947e2733da9ecd86949bebe5a55ae5267f8 (patch)
treed8ba7fed9d6c991f357ddc9adec87230baaed5b7
parent288716ed8fe82e1282a66bbecdde96933e4f541a (diff)
downloaddrakx-net-a6d04947e2733da9ecd86949bebe5a55ae5267f8.tar
drakx-net-a6d04947e2733da9ecd86949bebe5a55ae5267f8.tar.gz
drakx-net-a6d04947e2733da9ecd86949bebe5a55ae5267f8.tar.bz2
drakx-net-a6d04947e2733da9ecd86949bebe5a55ae5267f8.tar.xz
drakx-net-a6d04947e2733da9ecd86949bebe5a55ae5267f8.zip
Properly detecting Sierra Wireless cards (#48849).
-rw-r--r--NEWS2
-rw-r--r--lib/network/connection/cellular_card.pm3
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 392efd4..e553d1b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- cellular backend:
+ o properly detecting Sierra Wireless card (#48849).
- drakfirewall:
o added support for AVAHI/mDNS ports (#50541).
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index ccfeba5..e86f1bc 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -15,7 +15,8 @@ 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
- @serial, detect_devices::probe_category('network/cellular'), detect_devices::matching_driver('cdc_acm');
+ #- sierra wireless is also not detected as a 3G card
+ @serial, detect_devices::probe_category('network/cellular'), detect_devices::matching_driver('cdc_acm', 'sierra');
}
sub get_metric { 40 }