diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2019-03-19 13:37:41 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 14:03:56 +0300 |
commit | 2baed5db9f7cfcc506529a1bdf891c1cb0470cf1 (patch) | |
tree | 1ab0982ce7d33668ae89a4c987ca4b4ae7233cb1 /drivers/net/wireless/mediatek/mt76/mt76x0 | |
parent | 31cdd4420349f9ed7d2f54eded4604537cf734e2 (diff) | |
download | linux-2baed5db9f7cfcc506529a1bdf891c1cb0470cf1.tar.xz |
mt76x02u: add sta_ps
Add sta_ps callback but dont set WCID drop sicne registers for USB
can not be accessed from tasklet context.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x0/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c b/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c index ab8c47f6da0c..71dfff23c29a 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c @@ -222,6 +222,7 @@ static int mt76x0u_probe(struct usb_interface *usb_intf, .tx_complete_skb = mt76x02u_tx_complete_skb, .tx_status_data = mt76x02_tx_status_data, .rx_skb = mt76x02_queue_rx_skb, + .sta_ps = mt76x02_sta_ps, .sta_add = mt76x02_sta_add, .sta_remove = mt76x02_sta_remove, }; |