diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-03-13 22:17:45 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 14:03:58 +0300 |
commit | a33b8ab868ad774dfb66e750ebd158887ff8d337 (patch) | |
tree | 6305c7db229ae1d9c542ea5a90c36096e2649d87 /drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | |
parent | db9f11d3433f7a66ae9d9f8d3e09eb90f33d3b4e (diff) | |
download | linux-a33b8ab868ad774dfb66e750ebd158887ff8d337.tar.xz |
mt76: move tx tasklet to struct mt76_dev
Allows it to be scheduled from core code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2/usb.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c b/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c index d08bb964966b..d1bddd5931bd 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c @@ -124,7 +124,7 @@ static int __maybe_unused mt76x2u_resume(struct usb_interface *intf) goto err; tasklet_enable(&usb->rx_tasklet); - tasklet_enable(&usb->tx_tasklet); + tasklet_enable(&dev->mt76.tx_tasklet); err = mt76x2u_init_hardware(dev); if (err < 0) |