diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index 7e9272b8f01d..3a6b40239bc1 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1648,7 +1648,8 @@ static int rt2400pci_probe_hw(struct rt2x00_dev *rt2x00dev) | |||
1648 | /* | 1648 | /* |
1649 | * IEEE80211 stack callback functions. | 1649 | * IEEE80211 stack callback functions. |
1650 | */ | 1650 | */ |
1651 | static int rt2400pci_conf_tx(struct ieee80211_hw *hw, u16 queue, | 1651 | static int rt2400pci_conf_tx(struct ieee80211_hw *hw, |
1652 | struct ieee80211_vif *vif, u16 queue, | ||
1652 | const struct ieee80211_tx_queue_params *params) | 1653 | const struct ieee80211_tx_queue_params *params) |
1653 | { | 1654 | { |
1654 | struct rt2x00_dev *rt2x00dev = hw->priv; | 1655 | struct rt2x00_dev *rt2x00dev = hw->priv; |
@@ -1661,7 +1662,7 @@ static int rt2400pci_conf_tx(struct ieee80211_hw *hw, u16 queue, | |||
1661 | if (queue != 0) | 1662 | if (queue != 0) |
1662 | return -EINVAL; | 1663 | return -EINVAL; |
1663 | 1664 | ||
1664 | if (rt2x00mac_conf_tx(hw, queue, params)) | 1665 | if (rt2x00mac_conf_tx(hw, vif, queue, params)) |
1665 | return -EINVAL; | 1666 | return -EINVAL; |
1666 | 1667 | ||
1667 | /* | 1668 | /* |