diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-03-07 12:52:39 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-08 14:00:01 -0500 |
commit | bada991b4590122c847520ed2b651b679c16afd3 (patch) | |
tree | a9a6a494034f64bf6367b7eb39f722c73ff6f7da /drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | |
parent | 83626404a70da74c67f32f119e53c0ba032ba2d8 (diff) |
iwlwifi: remove messages from queue wake/stop
The only reason we ever stop/wake queues at
the transport level is now that they become
full (or non-full), so the messages aren't
useful any more -- remove them.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans-pcie.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c index 3b8a5fb771f6..6172651d7e25 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c +++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | |||
@@ -1487,7 +1487,7 @@ static int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb, | |||
1487 | txq->need_update = 1; | 1487 | txq->need_update = 1; |
1488 | iwl_txq_update_write_ptr(trans, txq); | 1488 | iwl_txq_update_write_ptr(trans, txq); |
1489 | } else { | 1489 | } else { |
1490 | iwl_stop_queue(trans, txq, "Queue is full"); | 1490 | iwl_stop_queue(trans, txq); |
1491 | } | 1491 | } |
1492 | } | 1492 | } |
1493 | spin_unlock(&txq->lock); | 1493 | spin_unlock(&txq->lock); |
@@ -1591,7 +1591,7 @@ static int iwl_trans_pcie_reclaim(struct iwl_trans *trans, int sta_id, int tid, | |||
1591 | tfd_num, ssn); | 1591 | tfd_num, ssn); |
1592 | freed = iwl_tx_queue_reclaim(trans, txq_id, tfd_num, skbs); | 1592 | freed = iwl_tx_queue_reclaim(trans, txq_id, tfd_num, skbs); |
1593 | if (iwl_queue_space(&txq->q) > txq->q.low_mark) | 1593 | if (iwl_queue_space(&txq->q) > txq->q.low_mark) |
1594 | iwl_wake_queue(trans, txq, "Packets reclaimed"); | 1594 | iwl_wake_queue(trans, txq); |
1595 | } | 1595 | } |
1596 | 1596 | ||
1597 | spin_unlock(&txq->lock); | 1597 | spin_unlock(&txq->lock); |