summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-09 09:16:35 +0100
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-04-16 14:34:44 -0700
commit0479c19d9fd29eceb21111a3fe4a4a00b3037cf5 (patch)
tree4278582c681983d2aea5d39be6e8d1d60746d805 /drivers/net/wireless/iwlwifi/iwl-agn-lib.c
parent84965795b2908f2e0be929e71b5bf3b7c6ad5329 (diff)
downloadop-kernel-dev-0479c19d9fd29eceb21111a3fe4a4a00b3037cf5.zip
op-kernel-dev-0479c19d9fd29eceb21111a3fe4a4a00b3037cf5.tar.gz
iwlwifi: remove uCode alternatives mechanism
We've never released firmware using the alternatives mechanism and our build process makes that difficult anyway. This means that in every file we have ever built (except maybe by hand for testing) the listed alternative was 0. Make the alternative field in the TLVs part of the TLV number (thus expanding that to 32 bits); this gives us more TLV numbers (not really needed) and more importantly protects against rogue firmware files that actually do use the alternatives mechanism -- those will now be rejected since they don't contain any valid TLVs. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-lib.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-lib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index 8834b1b..8e83fb8 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
@@ -101,7 +101,6 @@ struct iwl_mod_params iwlagn_mod_params = {
.bt_coex_active = true,
.power_level = IWL_POWER_INDEX_1,
.bt_ch_announce = true,
- .wanted_ucode_alternative = 1,
.auto_agg = true,
/* the rest are 0 by default */
};
OpenPOWER on IntegriCloud