summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2012-04-29 23:59:36 +0000
committerOlivier Blin <blino@mageia.org>2012-04-29 23:59:36 +0000
commiteff043eb725ef2c2bbf88b28404b0bd5d371be7e (patch)
treed26aac6773bf0c808c886ee399001ac01dd275b2 /lib/network/connection
parent5ef40ab35c396d8f4a939f71ac48bb8987a48494 (diff)
downloaddrakx-net-eff043eb725ef2c2bbf88b28404b0bd5d371be7e.tar
drakx-net-eff043eb725ef2c2bbf88b28404b0bd5d371be7e.tar.gz
drakx-net-eff043eb725ef2c2bbf88b28404b0bd5d371be7e.tar.bz2
drakx-net-eff043eb725ef2c2bbf88b28404b0bd5d371be7e.tar.xz
drakx-net-eff043eb725ef2c2bbf88b28404b0bd5d371be7e.zip
another fix for iwlagn firmware installation since reported module name is iwlwifi (#5549)
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/wireless.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index 1e25c70..491d0c2 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -123,19 +123,20 @@ my @thirdparty_settings = (
},
(map {
- my ($version, $ucode_api, $ucode_version) = @$_;
+ my ($version, $ucode_api, $ucode_version, $package) = @$_;
$ucode_version ||= $version;
+ $package ||= $version;
{
name => "iwl${version}",
- description => "Intel(R) PRO/Wireless ${version}",
+ description => "Intel(R) PRO/Wireless ${package}",
url => "http://intellinuxwireless.org/",
firmware => {
- package => "iwlwifi-${version}-ucode",
+ package => "iwlwifi-${package}-ucode",
test_file => "iwlwifi-${ucode_version}${ucode_api}.ucode",
},
sleep => 1,
};
- } ([ 3945, '-2' ], [ 4965, '-2' ], [ 'agn', '-5', 5000 ])),
+ } ([ 3945, '-2' ], [ 4965, '-2' ], [ 'wifi', '-5', 5000, 'agn' ])),
{
name => 'p54pci',