aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index 2363ca4903cc..b0e4ea7c9dca 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -526,7 +526,7 @@ struct rt2x00lib_ops {
526 int (*get_tx_data_len) (struct rt2x00_dev *rt2x00dev, 526 int (*get_tx_data_len) (struct rt2x00_dev *rt2x00dev,
527 struct sk_buff *skb); 527 struct sk_buff *skb);
528 void (*kick_tx_queue) (struct rt2x00_dev *rt2x00dev, 528 void (*kick_tx_queue) (struct rt2x00_dev *rt2x00dev,
529 unsigned int queue); 529 const unsigned int queue);
530 530
531 /* 531 /*
532 * RX control handlers 532 * RX control handlers
@@ -906,10 +906,11 @@ static inline u16 get_duration_res(const unsigned int size, const u8 rate)
906/** 906/**
907 * rt2x00queue_get_queue - Convert mac80211 queue index to rt2x00 queue 907 * rt2x00queue_get_queue - Convert mac80211 queue index to rt2x00 queue
908 * @rt2x00dev: Pointer to &struct rt2x00_dev. 908 * @rt2x00dev: Pointer to &struct rt2x00_dev.
909 * @queue: mac80211 queue index (see &enum ieee80211_tx_queue). 909 * @queue: mac80211/rt2x00 queue index
910 * (see &enum ieee80211_tx_queue and &enum rt2x00_bcn_queue).
910 */ 911 */
911struct data_queue *rt2x00queue_get_queue(struct rt2x00_dev *rt2x00dev, 912struct data_queue *rt2x00queue_get_queue(struct rt2x00_dev *rt2x00dev,
912 const enum ieee80211_tx_queue queue); 913 const unsigned int queue);
913 914
914/** 915/**
915 * rt2x00queue_get_entry - Get queue entry where the given index points to. 916 * rt2x00queue_get_entry - Get queue entry where the given index points to.