summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-11-30 10:17:45 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-12-21 18:55:47 -0500
commitd67e261829d405ed19a6c2e648f224e352012f52 (patch)
tree769c6d14328e18b9769a60df7692a925b53d4585
parentb7339b1de0f7b6b8c95a6df87ea2221521328d11 (diff)
downloadop-kernel-dev-d67e261829d405ed19a6c2e648f224e352012f52.zip
op-kernel-dev-d67e261829d405ed19a6c2e648f224e352012f52.tar.gz
wl1251: print a debug message when tx_queue is full
This debug message was missing and caused incomplete log messages. Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/wl12xx/wl1251_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c
index ff4be7b..0417745 100644
--- a/drivers/net/wireless/wl12xx/wl1251_main.c
+++ b/drivers/net/wireless/wl12xx/wl1251_main.c
@@ -395,6 +395,7 @@ static int wl1251_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
* the queue here, otherwise the queue will get too long.
*/
if (skb_queue_len(&wl->tx_queue) >= WL1251_TX_QUEUE_MAX_LENGTH) {
+ wl1251_debug(DEBUG_TX, "op_tx: tx_queue full, stop queues");
ieee80211_stop_queues(wl->hw);
/*
OpenPOWER on IntegriCloud