diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-03-23 11:37:59 -0700 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-02 12:52:17 -0700 |
commit | b744cb79aec7d95905943c0bc64699eb02de143b (patch) | |
tree | f9a45249920097edf6a5a8fc9855a53e682489f2 /drivers/net/wireless/iwlwifi/iwl-core.c | |
parent | d34a5a62da12ffa53b91895d094960b35474f2fc (diff) | |
download | kernel_samsung_smdk4412-b744cb79aec7d95905943c0bc64699eb02de143b.zip kernel_samsung_smdk4412-b744cb79aec7d95905943c0bc64699eb02de143b.tar.gz kernel_samsung_smdk4412-b744cb79aec7d95905943c0bc64699eb02de143b.tar.bz2 |
iwlwifi: code cleanup for generic defines
Some defines used by all agn devices, but the definitions were in
iwl-4965-hw.h, move those to iwl-agn-hw.h which is the better place for
those.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 38d19c1..ff7f5c7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c @@ -1376,10 +1376,11 @@ int iwl_set_tx_power(struct iwl_priv *priv, s8 tx_power, bool force) int ret = 0; s8 prev_tx_power = priv->tx_power_user_lmt; - if (tx_power < IWL_TX_POWER_TARGET_POWER_MIN) { - IWL_WARN(priv, "Requested user TXPOWER %d below lower limit %d.\n", + if (tx_power < IWLAGN_TX_POWER_TARGET_POWER_MIN) { + IWL_WARN(priv, + "Requested user TXPOWER %d below lower limit %d.\n", tx_power, - IWL_TX_POWER_TARGET_POWER_MIN); + IWLAGN_TX_POWER_TARGET_POWER_MIN); return -EINVAL; } |