aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtl818x
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-04-27 16:57:38 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-28 16:50:24 -0400
commitd10e2e02f5a4382ec97ec08e809469fcaae2f0f7 (patch)
treed2e97942cf03cb451628dffa892260e22c851725 /drivers/net/wireless/rtl818x
parentca962557c2f2aa14f8032006ce17ebb4ff73db55 (diff)
rtl8180: use cached queue mapping for skb in rtl8180_tx
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x')
-rw-r--r--drivers/net/wireless/rtl818x/rtl8180_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8180_dev.c b/drivers/net/wireless/rtl818x/rtl8180_dev.c
index 2b928ecf47bd..c406cc85878b 100644
--- a/drivers/net/wireless/rtl818x/rtl8180_dev.c
+++ b/drivers/net/wireless/rtl818x/rtl8180_dev.c
@@ -296,7 +296,7 @@ static int rtl8180_tx(struct ieee80211_hw *dev, struct sk_buff *skb)
296 entry->flags = cpu_to_le32(tx_flags); 296 entry->flags = cpu_to_le32(tx_flags);
297 __skb_queue_tail(&ring->queue, skb); 297 __skb_queue_tail(&ring->queue, skb);
298 if (ring->entries - skb_queue_len(&ring->queue) < 2) 298 if (ring->entries - skb_queue_len(&ring->queue) < 2)
299 ieee80211_stop_queue(dev, skb_get_queue_mapping(skb)); 299 ieee80211_stop_queue(dev, prio);
300 spin_unlock_irqrestore(&priv->lock, flags); 300 spin_unlock_irqrestore(&priv->lock, flags);
301 301
302 rtl818x_iowrite8(priv, &priv->map->TX_DMA_POLLING, (1 << (prio + 4))); 302 rtl818x_iowrite8(priv, &priv->map->TX_DMA_POLLING, (1 << (prio + 4)));