summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-08-28 16:33:20 +0000
committerOlivier Blin <oblin@mandriva.com>2008-08-28 16:33:20 +0000
commitb6376123898d0fc687d0fc838fc316236e995268 (patch)
tree40f59ca433b33772f043513cae5c27972131a17e /lib/network
parent9eeb6d2b68c9551b03953672d38438d838c6ea3b (diff)
downloaddrakx-net-b6376123898d0fc687d0fc838fc316236e995268.tar
drakx-net-b6376123898d0fc687d0fc838fc316236e995268.tar.gz
drakx-net-b6376123898d0fc687d0fc838fc316236e995268.tar.bz2
drakx-net-b6376123898d0fc687d0fc838fc316236e995268.tar.xz
drakx-net-b6376123898d0fc687d0fc838fc316236e995268.zip
add support for extra ucode version
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection/wireless.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index 88d0d8a..a03925e 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -120,14 +120,15 @@ my @thirdparty_settings = (
},
(map {
- my ($version, $ucode_api) = @$_;
+ my ($version, $ucode_api, $ucode_version) = @$_;
+ $ucode_version ||= $version;
{
name => "iwl${version}",
description => "Intel(R) PRO/Wireless ${version}",
url => "http://intellinuxwireless.org/",
firmware => {
package => "iwlwifi-${version}-ucode",
- test_file => "iwlwifi-${version}${ucode_api}.ucode",
+ test_file => "iwlwifi-${ucode_version}${ucode_api}.ucode",
},
sleep => 1,
};