In net_sendfile(), correct parameter passed to netdev_txnotifiy. From Max Holtzberg
This commit is contained in:
parent
bf5ae4a374
commit
69dac5c775
@ -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).
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user