diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-11-16 10:49:14 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-11-30 12:30:37 +0100 |
commit | e28487ea84a9c081c6d8d7da319427f7fcc32ff5 (patch) | |
tree | cc434c8b2da11aca1d914dbb2a53a847b74cfd04 /drivers/net/wireless/mediatek/mt76/mt76x02.h | |
parent | 54f1bf8a9fddf6e9af5b037a47be3074b1aabe96 (diff) | |
download | linux-stable-e28487ea84a9c081c6d8d7da319427f7fcc32ff5.tar.gz linux-stable-e28487ea84a9c081c6d8d7da319427f7fcc32ff5.tar.bz2 linux-stable-e28487ea84a9c081c6d8d7da319427f7fcc32ff5.zip |
mt76: replace sta_add/remove ops with common sta_state function
Allows adding unassociated stations from mac80211
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02.h b/drivers/net/wireless/mediatek/mt76/mt76x02.h index 65daa3d3c289..b1d83dd34204 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x02.h @@ -110,10 +110,10 @@ void mt76x02_init_device(struct mt76x02_dev *dev); void mt76x02_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *total_flags, u64 multicast); -int mt76x02_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, - struct ieee80211_sta *sta); -int mt76x02_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, - struct ieee80211_sta *sta); +int mt76x02_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, + struct ieee80211_sta *sta); +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, |