diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 8 |
2 files changed, 4 insertions, 12 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 19da3e5e9eeb..19400792a3fe 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2238,12 +2238,8 @@ static void iwl4965_rx_reply_tx(struct iwl_priv *priv, | |||
2238 | 2238 | ||
2239 | if (priv->mac80211_registered && | 2239 | if (priv->mac80211_registered && |
2240 | (iwl_queue_space(&txq->q) > txq->q.low_mark) && | 2240 | (iwl_queue_space(&txq->q) > txq->q.low_mark) && |
2241 | (agg->state != IWL_EMPTYING_HW_QUEUE_DELBA)) { | 2241 | (agg->state != IWL_EMPTYING_HW_QUEUE_DELBA)) |
2242 | if (agg->state == IWL_AGG_OFF) | 2242 | iwl_wake_queue(priv, txq->swq_id); |
2243 | iwl_wake_queue(priv, txq_id); | ||
2244 | else | ||
2245 | iwl_wake_queue(priv, txq->swq_id); | ||
2246 | } | ||
2247 | } | 2243 | } |
2248 | } else { | 2244 | } else { |
2249 | info->status.rates[0].count = tx_resp->failure_frame + 1; | 2245 | info->status.rates[0].count = tx_resp->failure_frame + 1; |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c index c6f65fd7675c..2ba83b5bbb8e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |||
@@ -445,12 +445,8 @@ static void iwlagn_rx_reply_tx(struct iwl_priv *priv, | |||
445 | 445 | ||
446 | if (priv->mac80211_registered && | 446 | if (priv->mac80211_registered && |
447 | (iwl_queue_space(&txq->q) > txq->q.low_mark) && | 447 | (iwl_queue_space(&txq->q) > txq->q.low_mark) && |
448 | (agg->state != IWL_EMPTYING_HW_QUEUE_DELBA)) { | 448 | (agg->state != IWL_EMPTYING_HW_QUEUE_DELBA)) |
449 | if (agg->state == IWL_AGG_OFF) | 449 | iwl_wake_queue(priv, txq->swq_id); |
450 | iwl_wake_queue(priv, txq_id); | ||
451 | else | ||
452 | iwl_wake_queue(priv, txq->swq_id); | ||
453 | } | ||
454 | } | 450 | } |
455 | } else { | 451 | } else { |
456 | BUG_ON(txq_id != txq->swq_id); | 452 | BUG_ON(txq_id != txq->swq_id); |