]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76: avoid enabling interrupt if NAPI poll is still pending
authorFelix Fietkau <nbd@nbd.name>
Mon, 7 Oct 2019 10:33:39 +0000 (12:33 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Nov 2019 12:23:50 +0000 (13:23 +0100)
commit3e0705acd4de7821d42bea7fb01938ff05fd4d58
treef8f88a4d61c7f4313cb464c7e82e8b3c7e0158cf
parente7aaa72f4728451487d7a3fe54225796d08ab1e5
mt76: avoid enabling interrupt if NAPI poll is still pending

if napi_complete() returns false, it means that polling is still pending.
Interrupts should not fire until the polling is no longer scheduled

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/dma.c