diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c | 6 |
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..f06d1feedf81 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) | |||
214 | static void iwlagn_rts_tx_cmd_flag(struct ieee80211_tx_info *info, | 214 | static void iwlagn_rts_tx_cmd_flag(struct ieee80211_tx_info *info, |
215 | __le32 *tx_flags) | 215 | __le32 *tx_flags) |
216 | { | 216 | { |
217 | if ((info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || | 217 | *tx_flags |= TX_CMD_FLG_PROT_REQUIRE_MSK; |
218 | (info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)) | ||
219 | *tx_flags |= TX_CMD_FLG_RTS_CTS_MSK; | ||
220 | else | ||
221 | *tx_flags &= ~TX_CMD_FLG_RTS_CTS_MSK; | ||
222 | } | 218 | } |
223 | 219 | ||
224 | /* Calc max signal level (dBm) among 3 possible receivers */ | 220 | /* Calc max signal level (dBm) among 3 possible receivers */ |