diff --git a/dma.c b/dma.c index e2ce59b26..4da7cffba 100644 --- a/dma.c +++ b/dma.c @@ -537,10 +537,8 @@ mt76_dma_rx_poll(struct napi_struct *napi, int budget) rcu_read_unlock(); - if (done < budget) { - napi_complete(napi); + if (done < budget && napi_complete(napi)) dev->drv->rx_poll_complete(dev, qid); - } return done; }