diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2018-08-29 13:16:43 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-09-04 11:03:14 +0300 |
commit | 98ff26e5e21733be4527a9b3ecffe529b282542a (patch) | |
tree | 495fbe3c7b6abebcf2c7e8af7331b6790ae5a832 /drivers/net/wireless/mediatek/mt76/mt76x0/tx.c | |
parent | 459e237f14cda04232753aa9a44c0da8b629d69b (diff) | |
download | linux-stable-98ff26e5e21733be4527a9b3ecffe529b282542a.tar.gz linux-stable-98ff26e5e21733be4527a9b3ecffe529b282542a.tar.bz2 linux-stable-98ff26e5e21733be4527a9b3ecffe529b282542a.zip |
mt76: unify mt76x02_vif struct
Private vif structures definitions are the same for mt76x2 and mt76x0.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0/tx.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x0/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c b/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c index c45d05d5aab1..0c0ac2283c35 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c @@ -167,7 +167,7 @@ void mt76x0_tx(struct ieee80211_hw *hw, struct ieee80211_tx_control *control, msta = (struct mt76_sta *) sta->drv_priv; wcid = &msta->wcid; } else if (vif && (!info->control.hw_key && wcid->hw_key_idx != 0xff)) { - struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; + struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; wcid = &mvif->group_wcid; } |