summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt7615/pci.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2019-08-05 08:55:53 +0200
committerFelix Fietkau <nbd@nbd.name>2019-09-05 17:42:31 +0200
commit863c15a14e13107500273d95f014412b9d5207be (patch)
treea5a2d9855e9251c53887e403e935feb1a7c7d0ba /drivers/net/wireless/mediatek/mt76/mt7615/pci.c
parentfc98e670adf81c20991740c2a7001f5e26541097 (diff)
downloadlinux-stable-863c15a14e13107500273d95f014412b9d5207be.tar.gz
linux-stable-863c15a14e13107500273d95f014412b9d5207be.tar.bz2
linux-stable-863c15a14e13107500273d95f014412b9d5207be.zip
mt76: mt7615: enable survey support
Introduce channel survey support for mt7615 driver Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/pci.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7615/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/pci.c b/drivers/net/wireless/mediatek/mt76/mt7615/pci.c
index 9e82cb53fd60..e250607e0a80 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/pci.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/pci.c
@@ -81,6 +81,7 @@ static int mt7615_pci_probe(struct pci_dev *pdev,
.sta_add = mt7615_sta_add,
.sta_assoc = mt7615_sta_assoc,
.sta_remove = mt7615_sta_remove,
+ .update_survey = mt7615_update_channel,
};
struct mt7615_dev *dev;
struct mt76_dev *mdev;