summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-01 17:26:36 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-01 17:26:36 +0000
commitef6b5826f8a5bc5dc41be31974a542b5fc0a649c (patch)
tree6f125dcf833898ca10890b5b5097868d92a9ba2b /lib
parent724d3f08126eeb0ef614e89812eaaad1098ddd25 (diff)
downloaddrakx-net-ef6b5826f8a5bc5dc41be31974a542b5fc0a649c.tar
drakx-net-ef6b5826f8a5bc5dc41be31974a542b5fc0a649c.tar.gz
drakx-net-ef6b5826f8a5bc5dc41be31974a542b5fc0a649c.tar.bz2
drakx-net-ef6b5826f8a5bc5dc41be31974a542b5fc0a649c.tar.xz
drakx-net-ef6b5826f8a5bc5dc41be31974a542b5fc0a649c.zip
allow to specify ucode_api for iwl modules
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection/wireless.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index 24482d1..8989ccd 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -119,17 +119,18 @@ my @thirdparty_settings = (
},
(map {
+ my ($version, $ucode_api) = @$_;
{
- name => "iwl${_}",
- description => "Intel(R) PRO/Wireless ${_}",
+ name => "iwl${version}",
+ description => "Intel(R) PRO/Wireless ${version}",
url => "http://intellinuxwireless.org/",
firmware => {
- package => "iwlwifi-${_}-ucode",
- test_file => "iwlwifi-${_}.ucode",
+ package => "iwlwifi-${version}-ucode",
+ test_file => "iwlwifi-${version}${ucode_api}.ucode",
},
sleep => 1,
};
- } (3945, 4965)),
+ } ([ 3945, '' ], [ 4965, '' ])),
{
name => 'prism54',