diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 6b6a8e2dcddc..bf55b4a311e3 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2883,7 +2883,8 @@ static int rt61pci_probe_hw(struct rt2x00_dev *rt2x00dev) | |||
2883 | /* | 2883 | /* |
2884 | * IEEE80211 stack callback functions. | 2884 | * IEEE80211 stack callback functions. |
2885 | */ | 2885 | */ |
2886 | static int rt61pci_conf_tx(struct ieee80211_hw *hw, u16 queue_idx, | 2886 | static int rt61pci_conf_tx(struct ieee80211_hw *hw, |
2887 | struct ieee80211_vif *vif, u16 queue_idx, | ||
2887 | const struct ieee80211_tx_queue_params *params) | 2888 | const struct ieee80211_tx_queue_params *params) |
2888 | { | 2889 | { |
2889 | struct rt2x00_dev *rt2x00dev = hw->priv; | 2890 | struct rt2x00_dev *rt2x00dev = hw->priv; |
@@ -2899,7 +2900,7 @@ static int rt61pci_conf_tx(struct ieee80211_hw *hw, u16 queue_idx, | |||
2899 | * we are free to update the registers based on the value | 2900 | * we are free to update the registers based on the value |
2900 | * in the queue parameter. | 2901 | * in the queue parameter. |
2901 | */ | 2902 | */ |
2902 | retval = rt2x00mac_conf_tx(hw, queue_idx, params); | 2903 | retval = rt2x00mac_conf_tx(hw, vif, queue_idx, params); |
2903 | if (retval) | 2904 | if (retval) |
2904 | return retval; | 2905 | return retval; |
2905 | 2906 | ||