diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2019-01-30 17:02:14 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-02-18 19:54:32 +0100 |
commit | f9a043c582193cc6e2ab26ac36630432a4521508 (patch) | |
tree | 8f9ba52d6d2dbfd13e73199a6062cf15ef4b1b56 /drivers/net/wireless/mediatek/mt76/mt76x02.h | |
parent | 06662264ce2ad6810af4233424d501036a273223 (diff) | |
download | linux-stable-f9a043c582193cc6e2ab26ac36630432a4521508.tar.gz linux-stable-f9a043c582193cc6e2ab26ac36630432a4521508.tar.bz2 linux-stable-f9a043c582193cc6e2ab26ac36630432a4521508.zip |
mt76x02: use commmon add interface for mt76x2u
Since we now support mt76x2u feature to allow set mac address
when creating interface in common code we can use it for
mt76x2u.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02.h b/drivers/net/wireless/mediatek/mt76/mt76x02.h index be077443bdb0..6d9d9ddacc32 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x02.h @@ -130,8 +130,7 @@ void mt76x02_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, struct ieee80211_sta *sta); void mt76x02_config_mac_addr_list(struct mt76x02_dev *dev); -void mt76x02_vif_init(struct mt76x02_dev *dev, struct ieee80211_vif *vif, - unsigned int idx); + int mt76x02_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif); void mt76x02_remove_interface(struct ieee80211_hw *hw, |