From eff043eb725ef2c2bbf88b28404b0bd5d371be7e Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sun, 29 Apr 2012 23:59:36 +0000 Subject: another fix for iwlagn firmware installation since reported module name is iwlwifi (#5549) --- lib/network/connection/wireless.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/network/connection') 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', -- cgit v1.2.1