aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJahnavi Meher <jahnavi.meher@gmail.com>2014-06-16 10:15:45 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-06-19 15:49:22 -0400
commit258587f913f48f45b7e810d700ce1300afdb97da (patch)
tree5ff60d133b090e922ef048a0962266ed1bf9dc46
parent360accb0dba1777a4ea85a637c816b7987fa947b (diff)
rsi: Added debug messages.
Added some debug messages. Signed-off-by: Jahnavi Meher <jahnavi.meher@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/rsi/rsi_91x_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_core.c b/drivers/net/wireless/rsi/rsi_91x_core.c
index 264e8fac83ff..6f6a4d0b5b1f 100644
--- a/drivers/net/wireless/rsi/rsi_91x_core.c
+++ b/drivers/net/wireless/rsi/rsi_91x_core.c
@@ -284,6 +284,7 @@ void rsi_core_qos_processor(struct rsi_common *common)
284 284
285 skb = rsi_core_dequeue_pkt(common, q_num); 285 skb = rsi_core_dequeue_pkt(common, q_num);
286 if (skb == NULL) { 286 if (skb == NULL) {
287 rsi_dbg(ERR_ZONE, "skb null\n");
287 mutex_unlock(&common->tx_rxlock); 288 mutex_unlock(&common->tx_rxlock);
288 break; 289 break;
289 } 290 }
@@ -357,6 +358,7 @@ void rsi_core_xmit(struct rsi_common *common, struct sk_buff *skb)
357 if ((q_num != MGMT_SOFT_Q) && 358 if ((q_num != MGMT_SOFT_Q) &&
358 ((skb_queue_len(&common->tx_queue[q_num]) + 1) >= 359 ((skb_queue_len(&common->tx_queue[q_num]) + 1) >=
359 DATA_QUEUE_WATER_MARK)) { 360 DATA_QUEUE_WATER_MARK)) {
361 rsi_dbg(ERR_ZONE, "%s: sw queue full\n", __func__);
360 if (!ieee80211_queue_stopped(adapter->hw, WME_AC(q_num))) 362 if (!ieee80211_queue_stopped(adapter->hw, WME_AC(q_num)))
361 ieee80211_stop_queue(adapter->hw, WME_AC(q_num)); 363 ieee80211_stop_queue(adapter->hw, WME_AC(q_num));
362 rsi_set_event(&common->tx_thread.event); 364 rsi_set_event(&common->tx_thread.event);