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/mt76x2u_main.c | |
parent | 459e237f14cda04232753aa9a44c0da8b629d69b (diff) |
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/mt76x2u_main.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x2u_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2u_main.c b/drivers/net/wireless/mediatek/mt76/mt76x2u_main.c index 9180debc0946..fde334877bc5 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2u_main.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x2u_main.c @@ -49,7 +49,7 @@ static int mt76x2u_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) { struct mt76x2_dev *dev = hw->priv; - struct mt76x2_vif *mvif = (struct mt76x2_vif *)vif->drv_priv; + struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; unsigned int idx = 0; if (!ether_addr_equal(dev->mt76.macaddr, vif->addr)) |