diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/connection/wireless.pm | 9 |
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', |