rt2x00: Rename driver write_tx_datadesc callback function.
Now that the {usb,pci} specific write_tx_data functions are no longer
present we can rename the write_tx_datadesc callback function back to
its old name.
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
e513a0b6f1
commit
76dd5ddf23
@@ -430,10 +430,10 @@ static int rt2x00queue_write_tx_data(struct queue_entry *entry,
|
||||
memset(entry->skb->data, 0, rt2x00dev->ops->extra_tx_headroom);
|
||||
|
||||
/*
|
||||
* Call the driver's write_tx_datadesc function, if it exists.
|
||||
* Call the driver's write_tx_data function, if it exists.
|
||||
*/
|
||||
if (rt2x00dev->ops->lib->write_tx_datadesc)
|
||||
rt2x00dev->ops->lib->write_tx_datadesc(entry, txdesc);
|
||||
if (rt2x00dev->ops->lib->write_tx_data)
|
||||
rt2x00dev->ops->lib->write_tx_data(entry, txdesc);
|
||||
|
||||
/*
|
||||
* Map the skb to DMA.
|
||||
|
||||
Reference in New Issue
Block a user