diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-18 23:06:22 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-18 23:06:22 +0000 |
commit | f4b1a0cb8a5d299c04b9ce7cd70083dde9668c26 (patch) | |
tree | 6d80ae0645c22eb9aed0e30607e30e85a9c565bc /nuttx/net | |
parent | 93ee8262f526db8d9b73dcb21b1a94054d5a064b (diff) | |
download | px4-nuttx-f4b1a0cb8a5d299c04b9ce7cd70083dde9668c26.tar.gz px4-nuttx-f4b1a0cb8a5d299c04b9ce7cd70083dde9668c26.tar.bz2 px4-nuttx-f4b1a0cb8a5d299c04b9ce7cd70083dde9668c26.zip |
Fix another ENC28J60 chip select bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5163 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net')
-rw-r--r-- | nuttx/net/recvfrom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/recvfrom.c b/nuttx/net/recvfrom.c index 91dbcce81..6bfbd31ad 100644 --- a/nuttx/net/recvfrom.c +++ b/nuttx/net/recvfrom.c @@ -842,7 +842,7 @@ static ssize_t recvfrom_result(int result, struct recvfrom_s *pstate) if (pstate->rf_result < 0) { - /* This might return EGAIN on a timeout or ENOTCONN on loss of + /* This might return EAGAIN on a timeout or ENOTCONN on loss of * connection (TCP only) */ @@ -1061,7 +1061,7 @@ static ssize_t tcp_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len, if (_SS_ISNONBLOCK(psock->s_flags)) { /* Return the number of bytes read from the read-ahead buffer if - * something was received (already in 'ret'); EGAIN if not. + * something was received (already in 'ret'); EAGAIN if not. */ if (ret <= 0) |