Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ff73658 authored by Hamad Kadmany's avatar Hamad Kadmany
Browse files

wil6210: use napi_complete_done



To enable gro_flush_timeout, a driver has to use
napi_complete_done() instead of napi_complete().

Change-Id: I2ea853bb57e15021c001d16d7d1fe7e7ae0c58e7
Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent 783427f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ static int wil6210_netdev_poll_rx(struct napi_struct *napi, int budget)
	done = budget - quota;

	if (done < budget) {
		napi_complete(napi);
		napi_complete_done(napi, done);
		wil6210_unmask_irq_rx(wil);
		wil_dbg_txrx(wil, "NAPI RX complete\n");
	}