aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c
index fdf505beb79c..8cf6e3f253e9 100644
--- a/drivers/net/wireless/rt2x00/rt2x00usb.c
+++ b/drivers/net/wireless/rt2x00/rt2x00usb.c
@@ -165,11 +165,11 @@ static void rt2x00usb_interrupt_txdone(struct urb *urb)
165 rt2x00queue_index_inc(entry->queue, Q_INDEX_DONE); 165 rt2x00queue_index_inc(entry->queue, Q_INDEX_DONE);
166 166
167 /* 167 /*
168 * If the data queue was full before the txdone handler 168 * If the data queue was below the threshold before the txdone
169 * we must make sure the packet queue in the mac80211 stack 169 * handler we must make sure the packet queue in the mac80211 stack
170 * is reenabled when the txdone handler has finished. 170 * is reenabled when the txdone handler has finished.
171 */ 171 */
172 if (!rt2x00queue_full(entry->queue)) 172 if (!rt2x00queue_threshold(entry->queue))
173 ieee80211_wake_queue(rt2x00dev->hw, qid); 173 ieee80211_wake_queue(rt2x00dev->hw, qid);
174} 174}
175 175