diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-03-07 18:52:20 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-08 19:59:49 +0100 |
commit | 51dc51d12bd609644bbe9877825a1a25a6016639 (patch) | |
tree | 8e379a6792d67d701a906edc3f87efba07b4e353 /drivers/net/wireless/iwlwifi/iwl-eeprom.h | |
parent | iwlwifi: move BT/HT params to shared (diff) | |
download | linux-51dc51d12bd609644bbe9877825a1a25a6016639.tar.xz linux-51dc51d12bd609644bbe9877825a1a25a6016639.zip |
iwlwifi: make EEPROM enhanced TX power a bool
There's no need to carry around the function
pointer when a boolean indicating that the
EEPROM stores enhanced TX power information
is sufficient.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/iwl-eeprom.h index 3b17056d5675..e4a758340996 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.h @@ -302,7 +302,7 @@ extern const u8 iwl_eeprom_band_1[14]; struct iwl_eeprom_ops { const u32 regulatory_bands[7]; - void (*update_enhanced_txpower) (struct iwl_priv *priv); + bool enhanced_txpower; }; |