summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt76x2_main.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2018-08-29 14:16:44 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-09-04 11:03:17 +0300
commitf5a7f126e5fe7dd597ef45e812ddd991be348f64 (patch)
tree83db1a1b3ea16ed3e5a3a57a2581d972c228ca63 /drivers/net/wireless/mediatek/mt76/mt76x2_main.c
parent98ff26e5e21733be4527a9b3ecffe529b282542a (diff)
downloadlinux-f5a7f126e5fe7dd597ef45e812ddd991be348f64.tar.xz
mt76: unify sta structure part 1
First part of unifying mt76x02_sta structure between mt76x0 and mt76x2. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2_main.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x2_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2_main.c b/drivers/net/wireless/mediatek/mt76/mt76x2_main.c
index 80d33bca7f90..c445073a1a41 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2_main.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2_main.c
@@ -83,7 +83,7 @@ mt76x2_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
mvif->idx = idx;
mvif->group_wcid.idx = MT_VIF_WCID(idx);
mvif->group_wcid.hw_key_idx = -1;
- mt76x2_txq_init(dev, vif->txq);
+ mt76x02_txq_init(&dev->mt76, vif->txq);
return 0;
}