summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-17 09:24:25 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-17 09:24:25 -0600
commit5e2abb1e1031a10489a74952f69f79e55a9fe66c (patch)
tree80744302dcbee8bf07928a3ec8c5320ce0cd5f71
parent3d66af833632324cd5dbae6344fef52011bc9896 (diff)
downloadnuttx-5e2abb1e1031a10489a74952f69f79e55a9fe66c.tar.gz
nuttx-5e2abb1e1031a10489a74952f69f79e55a9fe66c.tar.bz2
nuttx-5e2abb1e1031a10489a74952f69f79e55a9fe66c.zip
In net_sendfile(), correct parameter passed to netdev_txnotifiy. From Max Holtzberg
-rw-r--r--nuttx/ChangeLog2
-rw-r--r--nuttx/net/net_sendfile.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 356771d53..becf0c0c6 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -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).
diff --git a/nuttx/net/net_sendfile.c b/nuttx/net/net_sendfile.c
index 7ec214b74..2b5f6b211 100644
--- a/nuttx/net/net_sendfile.c
+++ b/nuttx/net/net_sendfile.c
@@ -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);
}