iwlwifi/iwl3945: remove data_retry_limit
[linux-2.6.git] / drivers / net / wireless / iwlwifi / iwl-tx.c
index 625da63d01ee99e294da86f2594744a2dff66d2e..d0bd7cd024ad9802c4e3285c48aac3b875c21150 100644 (file)
@@ -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;