summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2010-04-30 13:16:54 +0000
committerOlivier Blin <oblin@mandriva.com>2010-04-30 13:16:54 +0000
commitbf8625d3b585115a4129e41c16cd75033c55950f (patch)
treeaedb5709f2826c8a08ac3241a5001790adc21ed9 /lib/network/connection
parent79eb529cf8fa2fae5fac623ed2b1bac053fe3994 (diff)
downloaddrakx-net-bf8625d3b585115a4129e41c16cd75033c55950f.tar
drakx-net-bf8625d3b585115a4129e41c16cd75033c55950f.tar.gz
drakx-net-bf8625d3b585115a4129e41c16cd75033c55950f.tar.bz2
drakx-net-bf8625d3b585115a4129e41c16cd75033c55950f.tar.xz
drakx-net-bf8625d3b585115a4129e41c16cd75033c55950f.zip
add support for rt2870 driver
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/wireless.pm14
1 files changed, 8 insertions, 6 deletions
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',