mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
In net_sendfile(), correct parameter passed to netdev_txnotifiy. From Max Holtzberg
This commit is contained in:
@@ -5780,4 +5780,6 @@
|
||||
* net/send.c and net_sendfile.c: Reset the send timeout when the
|
||||
data is ACKed, not when the data is sent. Remove concitions on
|
||||
checking for timeout. From Max Holtzberg (2013-10-17).
|
||||
* net/net_sendfile.c: Correct paramter passed to netdev_txnotify()
|
||||
from Max Holtzberg (2013-10-17).
|
||||
|
||||
|
||||
+1
-1
@@ -535,7 +535,7 @@ ssize_t net_sendfile(int outfd, struct file *infile, off_t *offset,
|
||||
|
||||
/* Notify the device driver of the availaibilty of TX data */
|
||||
|
||||
netdev_txnotify(&conn->ripaddr);
|
||||
netdev_txnotify(conn->ripaddr);
|
||||
|
||||
uip_lockedwait(&state.snd_sem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user