summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt76x0/pci.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-10-20 13:13:30 +0300
committerFelix Fietkau <nbd@nbd.name>2018-11-30 14:21:41 +0300
commitf7c8a0f2da379dae08075d6023d24b9accf2d1f9 (patch)
treeb72fb8062e606634f40cfdcc8b4bcb0b9ce479c1 /drivers/net/wireless/mediatek/mt76/mt76x0/pci.c
parent1da0a411bece6f63e2110f6a69862db70aadcc5e (diff)
downloadlinux-f7c8a0f2da379dae08075d6023d24b9accf2d1f9.tar.xz
mt76: move mt76x02_sta_ps in mt76x02-lib module
Move mt76x02_sta_ps utility routine in mt76x02_util.c in order to be reused by mt76x0 driver adding AP support Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0/pci.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x0/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/pci.c b/drivers/net/wireless/mediatek/mt76/mt76x0/pci.c
index 4d4800d09da6..4deaf7f7c4f7 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x0/pci.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x0/pci.c
@@ -142,6 +142,7 @@ mt76x0e_probe(struct pci_dev *pdev, const struct pci_device_id *id)
.tx_complete_skb = mt76x02_tx_complete_skb,
.rx_skb = mt76x02_queue_rx_skb,
.rx_poll_complete = mt76x02_rx_poll_complete,
+ .sta_ps = mt76x02_sta_ps,
};
struct mt76x02_dev *dev;
int ret;