diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index 31258ee24ee3..38c968ee50f1 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c | |||
@@ -1100,11 +1100,11 @@ static int rt2500usb_get_tx_data_len(struct rt2x00_dev *rt2x00dev, | |||
1100 | * TX data initialization | 1100 | * TX data initialization |
1101 | */ | 1101 | */ |
1102 | static void rt2500usb_kick_tx_queue(struct rt2x00_dev *rt2x00dev, | 1102 | static void rt2500usb_kick_tx_queue(struct rt2x00_dev *rt2x00dev, |
1103 | unsigned int queue) | 1103 | const unsigned int queue) |
1104 | { | 1104 | { |
1105 | u16 reg; | 1105 | u16 reg; |
1106 | 1106 | ||
1107 | if (queue != IEEE80211_TX_QUEUE_BEACON) | 1107 | if (queue != RT2X00_BCN_QUEUE_BEACON) |
1108 | return; | 1108 | return; |
1109 | 1109 | ||
1110 | rt2500usb_register_read(rt2x00dev, TXRX_CSR19, ®); | 1110 | rt2500usb_register_read(rt2x00dev, TXRX_CSR19, ®); |
@@ -1758,11 +1758,11 @@ static int rt2500usb_beacon_update(struct ieee80211_hw *hw, | |||
1758 | skbdesc->entry = intf->beacon; | 1758 | skbdesc->entry = intf->beacon; |
1759 | 1759 | ||
1760 | /* | 1760 | /* |
1761 | * Just in case mac80211 doesn't set this correctly, | 1761 | * mac80211 doesn't provide the control->queue variable |
1762 | * but we need this queue set for the descriptor | 1762 | * for beacons. Set our own queue identification so |
1763 | * initialization. | 1763 | * it can be used during descriptor initialization. |
1764 | */ | 1764 | */ |
1765 | control->queue = IEEE80211_TX_QUEUE_BEACON; | 1765 | control->queue = RT2X00_BCN_QUEUE_BEACON; |
1766 | rt2x00lib_write_tx_desc(rt2x00dev, skb, control); | 1766 | rt2x00lib_write_tx_desc(rt2x00dev, skb, control); |
1767 | 1767 | ||
1768 | /* | 1768 | /* |