aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt73usb.c
diff options
context:
space:
mode:
authorIvo van Doorn <IvDoorn@gmail.com>2008-06-06 16:47:39 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-14 12:17:56 -0400
commitf019d51410a9b61278eeff811a1ca11d2a905241 (patch)
tree3f038d3e8b7301c33df31344307c7a3180227e51 /drivers/net/wireless/rt2x00/rt73usb.c
parent565a019ac635d4f5140a8c4da21387c3b2b28fb9 (diff)
rt2x00: Implement rt2x00usb_kick_tx_queue()
rt2x00usb_kick_tx_queue() will loop over all entries within the INDEX_DONE->INDEX range and kick each entry which is pending to be kicked. This makes the kick_tx_queue approach work the same as with the PCI drivers which will allow for more code generalisation into rt2x00lib. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt73usb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c
index db1fc136cda4..5e5f6034383a 100644
--- a/drivers/net/wireless/rt2x00/rt73usb.c
+++ b/drivers/net/wireless/rt2x00/rt73usb.c
@@ -1350,8 +1350,10 @@ static void rt73usb_kick_tx_queue(struct rt2x00_dev *rt2x00dev,
1350{ 1350{
1351 u32 reg; 1351 u32 reg;
1352 1352
1353 if (queue != QID_BEACON) 1353 if (queue != QID_BEACON) {
1354 rt2x00usb_kick_tx_queue(rt2x00dev, queue);
1354 return; 1355 return;
1356 }
1355 1357
1356 /* 1358 /*
1357 * For Wi-Fi faily generated beacons between participating stations. 1359 * For Wi-Fi faily generated beacons between participating stations.