diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index e692608bee8b..053fdd3bd720 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -251,6 +251,12 @@ void rt2x00lib_pretbtt(struct rt2x00_dev *rt2x00dev) | |||
251 | } | 251 | } |
252 | EXPORT_SYMBOL_GPL(rt2x00lib_pretbtt); | 252 | EXPORT_SYMBOL_GPL(rt2x00lib_pretbtt); |
253 | 253 | ||
254 | void rt2x00lib_dmadone(struct queue_entry *entry) | ||
255 | { | ||
256 | rt2x00queue_index_inc(entry->queue, Q_INDEX_DMA_DONE); | ||
257 | } | ||
258 | EXPORT_SYMBOL_GPL(rt2x00lib_dmadone); | ||
259 | |||
254 | void rt2x00lib_txdone(struct queue_entry *entry, | 260 | void rt2x00lib_txdone(struct queue_entry *entry, |
255 | struct txdone_entry_desc *txdesc) | 261 | struct txdone_entry_desc *txdesc) |
256 | { | 262 | { |
@@ -711,7 +717,7 @@ static int rt2x00lib_probe_hw_modes(struct rt2x00_dev *rt2x00dev, | |||
711 | for (i = 0; i < spec->num_channels; i++) { | 717 | for (i = 0; i < spec->num_channels; i++) { |
712 | rt2x00lib_channel(&channels[i], | 718 | rt2x00lib_channel(&channels[i], |
713 | spec->channels[i].channel, | 719 | spec->channels[i].channel, |
714 | spec->channels_info[i].tx_power1, i); | 720 | spec->channels_info[i].max_power, i); |
715 | } | 721 | } |
716 | 722 | ||
717 | /* | 723 | /* |