summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorEran Harary2014-01-09 07:08:24 +0100
committerEmmanuel Grumbach2014-02-03 21:23:31 +0100
commitae2b21b0d92ea36af72c6a57f8c32376858186d7 (patch)
treeca63cee78102bce9e5c465f34404f294463c6d90 /drivers/net/wireless/iwlwifi/mvm/mvm.h
parentiwlwifi: Add 8000 HW family support (diff)
downloadkernel-qcow2-linux-ae2b21b0d92ea36af72c6a57f8c32376858186d7.tar.gz
kernel-qcow2-linux-ae2b21b0d92ea36af72c6a57f8c32376858186d7.tar.xz
kernel-qcow2-linux-ae2b21b0d92ea36af72c6a57f8c32376858186d7.zip
iwlwifi: mvm: support NVM sections for family 8000
The identification of the hardware section in the NVM of new devices has been changed, hence the need to add it to iwl_cfg and adapt the code that uses this value accordingly. Signed-off-by: Eran Harary <eran.harary@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index e4ead86f06d6..bf13c462a1f4 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -470,7 +470,7 @@ struct iwl_mvm {
struct iwl_nvm_data *nvm_data;
/* NVM sections */
- struct iwl_nvm_section nvm_sections[NVM_NUM_OF_SECTIONS];
+ struct iwl_nvm_section nvm_sections[NVM_MAX_NUM_SECTIONS];
/* EEPROM MAC addresses */
struct mac_address addresses[IWL_MVM_MAX_ADDRESSES];