diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index b519a4bfc212..4b5bde8b53de 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -1326,11 +1326,11 @@ static int rt73usb_get_tx_data_len(struct rt2x00_dev *rt2x00dev, | |||
1326 | * TX data initialization | 1326 | * TX data initialization |
1327 | */ | 1327 | */ |
1328 | static void rt73usb_kick_tx_queue(struct rt2x00_dev *rt2x00dev, | 1328 | static void rt73usb_kick_tx_queue(struct rt2x00_dev *rt2x00dev, |
1329 | unsigned int queue) | 1329 | const unsigned int queue) |
1330 | { | 1330 | { |
1331 | u32 reg; | 1331 | u32 reg; |
1332 | 1332 | ||
1333 | if (queue != IEEE80211_TX_QUEUE_BEACON) | 1333 | if (queue != RT2X00_BCN_QUEUE_BEACON) |
1334 | return; | 1334 | return; |
1335 | 1335 | ||
1336 | /* | 1336 | /* |
@@ -2031,11 +2031,11 @@ static int rt73usb_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
2031 | skbdesc->entry = intf->beacon; | 2031 | skbdesc->entry = intf->beacon; |
2032 | 2032 | ||
2033 | /* | 2033 | /* |
2034 | * Just in case the ieee80211 doesn't set this, | 2034 | * mac80211 doesn't provide the control->queue variable |
2035 | * but we need this queue set for the descriptor | 2035 | * for beacons. Set our own queue identification so |
2036 | * initialization. | 2036 | * it can be used during descriptor initialization. |
2037 | */ | 2037 | */ |
2038 | control->queue = IEEE80211_TX_QUEUE_BEACON; | 2038 | control->queue = RT2X00_BCN_QUEUE_BEACON; |
2039 | rt2x00lib_write_tx_desc(rt2x00dev, skb, control); | 2039 | rt2x00lib_write_tx_desc(rt2x00dev, skb, control); |
2040 | 2040 | ||
2041 | /* | 2041 | /* |