summaryrefslogtreecommitdiff
path: root/libhw/w5500_ll.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-26 12:16:50 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-26 12:16:50 -0600
commit9f2e2e96321f14da97adda618a7e4721cbb9791c (patch)
tree479a8f642ae6054772dd2da4b3a5eeac14dfabc0 /libhw/w5500_ll.h
parent50fb8395526066d20e143b49a12c0f6aeddee1ac (diff)
parent58c3d2a7ff9c188be8a09917326b6e87400cf3dd (diff)
Merge branch 'lukeshu/fix'
Diffstat (limited to 'libhw/w5500_ll.h')
-rw-r--r--libhw/w5500_ll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhw/w5500_ll.h b/libhw/w5500_ll.h
index cad20a4..3822ad4 100644
--- a/libhw/w5500_ll.h
+++ b/libhw/w5500_ll.h
@@ -109,8 +109,8 @@ w5500ll_writev(
}
inner[j] = (struct duplex_iovec){
.iov_read_dst = NULL,
- .iov_write_src = iov[i].iov_base+(skipped-skip),
- .iov_len = iov[i].iov_len-(skipped-skip),
+ .iov_write_src = iov[i].iov_base+(skip-skipped),
+ .iov_len = iov[i].iov_len-(skip-skipped),
};
skipped = skip;
} else {