iwlwifi: nvm: remove reading valid antennas from NVM
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Feb 2014 21:02:38 +0000 (22:02 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 23 Feb 2014 17:27:26 +0000 (19:27 +0200)
commitfde73834eadb56962fd3b00f231ce58de5f00170
tree1c0aa160853e60f14440df5f82fa5c6757c42719
parent5fc0f76c43bdb19f8080a25b653569666a637306
iwlwifi: nvm: remove reading valid antennas from NVM

These values aren't used as the firmware values should be used,
so reading them is pointless and hides potential errors when
somebody uses these values. Leave them zero to make it clearer
that they can't be used. We can't remove the struct members as
the DVM driver does read the values from EEPROM/OTP and the
structure is shared between drivers.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
drivers/net/wireless/iwlwifi/mvm/fw.c