summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--lib/network/connection/wireless.pm14
2 files changed, 10 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index 3613609..20e361a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
- fix detecting sysfs bus (only applies to ieee1394 subsystem)
+- wireless backend:
+ o add support for rt2870 driver
0.88:
- allow draknetprofile module selection to use whole screen.
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index df15e3d..bd58a5c 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -304,16 +304,18 @@ my @thirdparty_settings = (
},
},
- {
- name => 'rt2860',
- matching => 'rt2860sta',
- description => 'Ralink RT2860 WiFi',
+ (map {
+ +{
+ name => "rt${_}",
+ matching => qr/^rt${_}(sta|)$/,
+ description => 'Ralink RT${_} WiFi',
kernel_module => 1,
firmware => {
url => 'http://www.ralinktech.com/',
- test_file => 'rt2860.bin',
+ test_file => "rt${_}.bin",
},
- },
+ },
+ } (2860, 2870),
{
name => 'rt3090',