summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-tx.c
diff options
context:
space:
mode:
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>2009-10-09 13:20:32 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:48:00 -0400
commit1f0436f4702b7cdda22a38689cc1903822694a17 (patch)
tree4bc72f7dcb6da578d250e0082b17ec6c774939bc /drivers/net/wireless/iwlwifi/iwl-tx.c
parent9744c91f91e9e467b38473a8b673324ae658ca88 (diff)
downloadblackbird-op-linux-1f0436f4702b7cdda22a38689cc1903822694a17.tar.gz
blackbird-op-linux-1f0436f4702b7cdda22a38689cc1903822694a17.zip
iwlwifi/iwl3945: remove data_retry_limit
Remove the ununsed variable data_retry_limit from priv. Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-tx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c
index 625da63d01ee..d0bd7cd024ad 100644
--- a/drivers/net/wireless/iwlwifi/iwl-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-tx.c
@@ -591,9 +591,7 @@ static void iwl_tx_cmd_build_rate(struct iwl_priv *priv,
u8 rate_plcp;
/* Set retry limit on DATA packets and Probe Responses*/
- if (priv->data_retry_limit != -1)
- data_retry_limit = priv->data_retry_limit;
- else if (ieee80211_is_probe_resp(fc))
+ if (ieee80211_is_probe_resp(fc))
data_retry_limit = 3;
else
data_retry_limit = IWL_DEFAULT_TX_RETRY;
OpenPOWER on IntegriCloud