aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c
index a6bac75de9f2..9745277c81ce 100644
--- a/drivers/net/wireless/rt2x00/rt2x00pci.c
+++ b/drivers/net/wireless/rt2x00/rt2x00pci.c
@@ -170,11 +170,11 @@ void rt2x00pci_txdone(struct rt2x00_dev *rt2x00dev, struct queue_entry *entry,
170 rt2x00queue_index_inc(entry->queue, Q_INDEX_DONE); 170 rt2x00queue_index_inc(entry->queue, Q_INDEX_DONE);
171 171
172 /* 172 /*
173 * If the data queue was full before the txdone handler 173 * If the data queue was below the threshold before the txdone
174 * we must make sure the packet queue in the mac80211 stack 174 * handler we must make sure the packet queue in the mac80211 stack
175 * is reenabled when the txdone handler has finished. 175 * is reenabled when the txdone handler has finished.
176 */ 176 */
177 if (!rt2x00queue_full(entry->queue)) 177 if (!rt2x00queue_threshold(entry->queue))
178 ieee80211_wake_queue(rt2x00dev->hw, qid); 178 ieee80211_wake_queue(rt2x00dev->hw, qid);
179 179
180} 180}