ref: 0db5d2bdd6b6cbdd24baea0a369c565506c8cc7f
parent: 43166ed050b8eaf9205e57c6eded4807310c24b5
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;
}