diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index 4fcba9b4635f..900140d3b304 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1484,11 +1484,11 @@ static u64 rt2400pci_get_tsf(struct ieee80211_hw *hw) | |||
1484 | return tsf; | 1484 | return tsf; |
1485 | } | 1485 | } |
1486 | 1486 | ||
1487 | static int rt2400pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | 1487 | static int rt2400pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb) |
1488 | struct ieee80211_tx_control *control) | ||
1489 | { | 1488 | { |
1490 | struct rt2x00_dev *rt2x00dev = hw->priv; | 1489 | struct rt2x00_dev *rt2x00dev = hw->priv; |
1491 | struct rt2x00_intf *intf = vif_to_intf(control->vif); | 1490 | struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); |
1491 | struct rt2x00_intf *intf = vif_to_intf(tx_info->control.vif); | ||
1492 | struct queue_entry_priv_pci *entry_priv; | 1492 | struct queue_entry_priv_pci *entry_priv; |
1493 | struct skb_frame_desc *skbdesc; | 1493 | struct skb_frame_desc *skbdesc; |
1494 | struct txentry_desc txdesc; | 1494 | struct txentry_desc txdesc; |
@@ -1504,7 +1504,7 @@ static int rt2400pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
1504 | * for our information. | 1504 | * for our information. |
1505 | */ | 1505 | */ |
1506 | intf->beacon->skb = skb; | 1506 | intf->beacon->skb = skb; |
1507 | rt2x00queue_create_tx_descriptor(intf->beacon, &txdesc, control); | 1507 | rt2x00queue_create_tx_descriptor(intf->beacon, &txdesc); |
1508 | 1508 | ||
1509 | /* | 1509 | /* |
1510 | * Fill in skb descriptor | 1510 | * Fill in skb descriptor |