Do not schedule {tx,rx}_tasklet when the usb dongle is disconnected in order to fix {TX,RX} urb mismatch warning Fix possible memory leak when the device is disconnected while passing traffic. Changes since v1: - move tasklet_kill back in mt7601u_dma_cleanup - add more comments and improve commit messages Lorenzo Bianconi (2): mt7601u: do not schedule rx_tasklet when the device has been disconnected mt7601u: fix possible memory leak when the device is disconnected drivers/net/wireless/mediatek/mt7601u/dma.c | 54 +++++++++++++-------- drivers/net/wireless/mediatek/mt7601u/tx.c | 4 +- 2 files changed, 36 insertions(+), 22 deletions(-) -- 2.21.0