|
@@ -421,7 +421,6 @@ static void rt2x00queue_write_tx_descriptor(struct queue_entry *entry,
|
|
{
|
|
{
|
|
struct data_queue *queue = entry->queue;
|
|
struct data_queue *queue = entry->queue;
|
|
struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
|
|
struct rt2x00_dev *rt2x00dev = queue->rt2x00dev;
|
|
- enum rt2x00_dump_type dump_type;
|
|
|
|
|
|
|
|
rt2x00dev->ops->lib->write_tx_desc(rt2x00dev, entry->skb, txdesc);
|
|
rt2x00dev->ops->lib->write_tx_desc(rt2x00dev, entry->skb, txdesc);
|
|
|
|
|
|
@@ -429,9 +428,7 @@ static void rt2x00queue_write_tx_descriptor(struct queue_entry *entry,
|
|
* All processing on the frame has been completed, this means
|
|
* All processing on the frame has been completed, this means
|
|
* it is now ready to be dumped to userspace through debugfs.
|
|
* it is now ready to be dumped to userspace through debugfs.
|
|
*/
|
|
*/
|
|
- dump_type = (txdesc->queue == QID_BEACON) ?
|
|
|
|
- DUMP_FRAME_BEACON : DUMP_FRAME_TX;
|
|
|
|
- rt2x00debug_dump_frame(rt2x00dev, dump_type, entry->skb);
|
|
|
|
|
|
+ rt2x00debug_dump_frame(rt2x00dev, DUMP_FRAME_TX, entry->skb);
|
|
}
|
|
}
|
|
|
|
|
|
static void rt2x00queue_kick_tx_queue(struct queue_entry *entry,
|
|
static void rt2x00queue_kick_tx_queue(struct queue_entry *entry,
|
|
@@ -594,11 +591,6 @@ int rt2x00queue_update_beacon(struct rt2x00_dev *rt2x00dev,
|
|
memset(skbdesc, 0, sizeof(*skbdesc));
|
|
memset(skbdesc, 0, sizeof(*skbdesc));
|
|
skbdesc->entry = intf->beacon;
|
|
skbdesc->entry = intf->beacon;
|
|
|
|
|
|
- /*
|
|
|
|
- * Write TX descriptor into reserved room in front of the beacon.
|
|
|
|
- */
|
|
|
|
- rt2x00queue_write_tx_descriptor(intf->beacon, &txdesc);
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Send beacon to hardware and enable beacon genaration..
|
|
* Send beacon to hardware and enable beacon genaration..
|
|
*/
|
|
*/
|