aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt61pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index 534e1647b7cf..59e87a1d96a4 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -1582,11 +1582,11 @@ static void rt61pci_write_tx_desc(struct rt2x00_dev *rt2x00dev,
1582 * TX data initialization 1582 * TX data initialization
1583 */ 1583 */
1584static void rt61pci_kick_tx_queue(struct rt2x00_dev *rt2x00dev, 1584static void rt61pci_kick_tx_queue(struct rt2x00_dev *rt2x00dev,
1585 unsigned int queue) 1585 const unsigned int queue)
1586{ 1586{
1587 u32 reg; 1587 u32 reg;
1588 1588
1589 if (queue == IEEE80211_TX_QUEUE_BEACON) { 1589 if (queue == RT2X00_BCN_QUEUE_BEACON) {
1590 /* 1590 /*
1591 * For Wi-Fi faily generated beacons between participating 1591 * For Wi-Fi faily generated beacons between participating
1592 * stations. Set TBTT phase adaptive adjustment step to 8us. 1592 * stations. Set TBTT phase adaptive adjustment step to 8us.
@@ -2431,11 +2431,11 @@ static int rt61pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb,
2431 skbdesc->entry = intf->beacon; 2431 skbdesc->entry = intf->beacon;
2432 2432
2433 /* 2433 /*
2434 * Just in case the ieee80211 doesn't set this, 2434 * mac80211 doesn't provide the control->queue variable
2435 * but we need this queue set for the descriptor 2435 * for beacons. Set our own queue identification so
2436 * initialization. 2436 * it can be used during descriptor initialization.
2437 */ 2437 */
2438 control->queue = IEEE80211_TX_QUEUE_BEACON; 2438 control->queue = RT2X00_BCN_QUEUE_BEACON;
2439 rt2x00lib_write_tx_desc(rt2x00dev, skb, control); 2439 rt2x00lib_write_tx_desc(rt2x00dev, skb, control);
2440 2440
2441 /* 2441 /*