From ef6b5826f8a5bc5dc41be31974a542b5fc0a649c Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 1 Apr 2008 17:26:36 +0000 Subject: allow to specify ucode_api for iwl modules --- lib/network/connection/wireless.pm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/network/connection') 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', -- cgit v1.2.1