diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-10-07 05:57:20 -0400 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-10-13 11:39:27 -0400 |
commit | 78e62de3227f99d0e18714f49f8a58f3f9a98af6 (patch) | |
tree | 1f7afcc0c27b55d9f256a462aae1029512fc98d9 /drivers/net/wireless | |
parent | 127aa72691ff567ea220c095843bf8d66f84e9af (diff) |
mt76x0: pci: add missing mac80211 callbacks
Add missing mac80211 callbacks in mt76x0e_ops data structure
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x0/pci.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/pci.c b/drivers/net/wireless/mediatek/mt76/mt76x0/pci.c index f1a1c70c4263..ab91a22b4f05 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/pci.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/pci.c | |||
@@ -71,10 +71,19 @@ static const struct ieee80211_ops mt76x0e_ops = { | |||
71 | .tx = mt76x02_tx, | 71 | .tx = mt76x02_tx, |
72 | .start = mt76x0e_start, | 72 | .start = mt76x0e_start, |
73 | .stop = mt76x0e_stop, | 73 | .stop = mt76x0e_stop, |
74 | .config = mt76x0_config, | ||
75 | .add_interface = mt76x02_add_interface, | 74 | .add_interface = mt76x02_add_interface, |
76 | .remove_interface = mt76x02_remove_interface, | 75 | .remove_interface = mt76x02_remove_interface, |
76 | .config = mt76x0_config, | ||
77 | .configure_filter = mt76x02_configure_filter, | 77 | .configure_filter = mt76x02_configure_filter, |
78 | .sta_add = mt76x02_sta_add, | ||
79 | .sta_remove = mt76x02_sta_remove, | ||
80 | .set_key = mt76x02_set_key, | ||
81 | .conf_tx = mt76x02_conf_tx, | ||
82 | .sw_scan_start = mt76x0_sw_scan, | ||
83 | .sw_scan_complete = mt76x0_sw_scan_complete, | ||
84 | .ampdu_action = mt76x02_ampdu_action, | ||
85 | .sta_rate_tbl_update = mt76x02_sta_rate_tbl_update, | ||
86 | .wake_tx_queue = mt76_wake_tx_queue, | ||
78 | }; | 87 | }; |
79 | 88 | ||
80 | static int mt76x0e_register_device(struct mt76x02_dev *dev) | 89 | static int mt76x0e_register_device(struct mt76x02_dev *dev) |