summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800usb.c
diff options
context:
space:
mode:
authorGertjan van Wingerde <gwingerde@gmail.com>2010-05-08 23:40:25 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-05-10 20:56:49 +0200
commitf224f4ef794c4a9146a7fa7303018fecab8c9328 (patch)
tree4ec01566480494152b1ec90bd491ee717a7c32c9 /drivers/net/wireless/rt2x00/rt2800usb.c
parentrt2x00: Clean up all driver's kick_tx_queue callback functions. (diff)
downloadlinux-f224f4ef794c4a9146a7fa7303018fecab8c9328.tar.xz
linux-f224f4ef794c4a9146a7fa7303018fecab8c9328.zip
rt2x00: provide beacon's txdesc to write_beacon callback function.
Preparation to fix rt2800 beaconing. Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800usb.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
index dbec71852f00..d992a9352ed7 100644
--- a/drivers/net/wireless/rt2x00/rt2800usb.c
+++ b/drivers/net/wireless/rt2x00/rt2800usb.c
@@ -427,7 +427,8 @@ static void rt2800usb_write_tx_desc(struct rt2x00_dev *rt2x00dev,
/*
* TX data initialization
*/
-static void rt2800usb_write_beacon(struct queue_entry *entry)
+static void rt2800usb_write_beacon(struct queue_entry *entry,
+ struct txentry_desc *txdesc)
{
struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev;
struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb);