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

Commit df519ab2 authored by Linas Vepstas's avatar Linas Vepstas Committed by Jeff Garzik
Browse files

Spidernet Avoid possible RX chain corruption



Delete possible source of chain corruption; the hardware
already knows the location of the tail, and writing it
again is likely to mess it up.

Signed-off-by: default avatarLinas Vepstas <linas@austin.ibm.com>
Cc: James K Lewis <jklewis@us.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 90476a20
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -513,7 +513,6 @@ spider_net_alloc_rx_skbs(struct spider_net_card *card)
	/* This will allocate the rest of the rx buffers;
	 * if not, it's business as usual later on. */
	spider_net_refill_rx_chain(card);
	spider_net_enable_rxchtails(card);
	spider_net_enable_rxdmac(card);
	return 0;