git: 9front

Download patch

ref: 475b486fab86d635fbf4d6f97071c5b924380222
parent: ab921c8b51518516e283f3b6d143c441b2eb117d
author: Arne Meyer <meyer.arne83@netcologne.de>
date: Fri Jun 7 17:30:15 EDT 2024

nusb/ether: fix typo in previous commit

--- a/sys/src/cmd/nusb/ether/lan78xx.c
+++ b/sys/src/cmd/nusb/ether/lan78xx.c
@@ -252,7 +252,7 @@
 			break;
 		if((hd & Rxerror) == 0){
 			if(n == BLEN(b)){
-				b->wr -= 4;
+				b->wp -= 4;
 				etheriq(b);
 				return 0;
 			}
--