diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 7598b6e15784..e13ed5ced26e 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2357,11 +2357,11 @@ static u64 rt61pci_get_tsf(struct ieee80211_hw *hw) | |||
2357 | return tsf; | 2357 | return tsf; |
2358 | } | 2358 | } |
2359 | 2359 | ||
2360 | static int rt61pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | 2360 | static int rt61pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb) |
2361 | struct ieee80211_tx_control *control) | ||
2362 | { | 2361 | { |
2363 | struct rt2x00_dev *rt2x00dev = hw->priv; | 2362 | struct rt2x00_dev *rt2x00dev = hw->priv; |
2364 | struct rt2x00_intf *intf = vif_to_intf(control->vif); | 2363 | struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); |
2364 | struct rt2x00_intf *intf = vif_to_intf(tx_info->control.vif); | ||
2365 | struct queue_entry_priv_pci *entry_priv; | 2365 | struct queue_entry_priv_pci *entry_priv; |
2366 | struct skb_frame_desc *skbdesc; | 2366 | struct skb_frame_desc *skbdesc; |
2367 | struct txentry_desc txdesc; | 2367 | struct txentry_desc txdesc; |
@@ -2377,7 +2377,7 @@ static int rt61pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
2377 | * for our information. | 2377 | * for our information. |
2378 | */ | 2378 | */ |
2379 | intf->beacon->skb = skb; | 2379 | intf->beacon->skb = skb; |
2380 | rt2x00queue_create_tx_descriptor(intf->beacon, &txdesc, control); | 2380 | rt2x00queue_create_tx_descriptor(intf->beacon, &txdesc); |
2381 | 2381 | ||
2382 | entry_priv = intf->beacon->priv_data; | 2382 | entry_priv = intf->beacon->priv_data; |
2383 | memset(entry_priv->desc, 0, intf->beacon->queue->desc_size); | 2383 | memset(entry_priv->desc, 0, intf->beacon->queue->desc_size); |