summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2010-06-26 01:47:02 +0400
committerReinette Chatre <reinette.chatre@intel.com>2010-06-26 01:47:02 +0400
commite691e19e05c2cef72cd7f81bcae4195c81d4bf51 (patch)
treee5a231ecfb36f4fa335b64f1300ce9f831678eee /drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
parent47399f1a7d2059c89df7a1116024d0cd9bc240fa (diff)
parent062bee448bd539580ef9f64efe50fdfe04eeb103 (diff)
downloadlinux-e691e19e05c2cef72cd7f81bcae4195c81d4bf51.tar.xz
Merge branch 'wireless-2.6' into wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c b/drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
index 3f765ba15cb8..d89a11c6558e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
@@ -214,11 +214,7 @@ static void iwlagn_chain_noise_reset(struct iwl_priv *priv)
static void iwlagn_rts_tx_cmd_flag(struct ieee80211_tx_info *info,
__le32 *tx_flags)
{
- if ((info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) ||
- (info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT))
- *tx_flags |= TX_CMD_FLG_RTS_CTS_MSK;
- else
- *tx_flags &= ~TX_CMD_FLG_RTS_CTS_MSK;
+ *tx_flags |= TX_CMD_FLG_RTS_CTS_MSK;
}
/* Calc max signal level (dBm) among 3 possible receivers */