diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-11-30 11:03:44 -0800 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-12-09 09:51:48 -0800 |
commit | cbf68a668d0e41527572c762824a1b6a9225d33f (patch) | |
tree | 5d44afab06d8238596a6fcbe40bc44efff140e78 /drivers/net/wireless/iwlwifi/iwl-agn-eeprom.c | |
parent | 0a54917c3fc295cb61f3fb52373c173fd3b69f48 (diff) | |
download | kernel_samsung_tuna-cbf68a668d0e41527572c762824a1b6a9225d33f.zip kernel_samsung_tuna-cbf68a668d0e41527572c762824a1b6a9225d33f.tar.gz kernel_samsung_tuna-cbf68a668d0e41527572c762824a1b6a9225d33f.tar.bz2 |
iwlagn: rename enhanced txpower fields
Some fields we didn't previously use from the
enhanced TX power structure will be needed in
the next patch, so rename them to their correct
names to be able to use them and change code
reading them accordingly.
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-eeprom.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-eeprom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-eeprom.c b/drivers/net/wireless/iwlwifi/iwl-agn-eeprom.c index a650bab..9651060 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-eeprom.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-eeprom.c @@ -419,7 +419,8 @@ void iwlcore_eeprom_enhanced_txpower(struct iwl_priv *priv) * always check for valid entry before process * the information */ - if (!enhanced_txpower->common || enhanced_txpower->reserved) + if (!(enhanced_txpower->flags || enhanced_txpower->channel) || + enhanced_txpower->delta_20_in_40) continue; for (element = 0; element < eeprom_section_count; element++) { |