diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-10 17:03:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-10 17:03:34 +0000 |
commit | 876a38713e205a601078e587d0b34c456f8b8343 (patch) | |
tree | 895a81fa1c3c6163d05b0996afb9a6b8bb7d4dd6 /nuttx/net/net_poll.c | |
parent | 20b116f713d7cb943f30c4fe3401633fb92e26a4 (diff) | |
download | nuttx-876a38713e205a601078e587d0b34c456f8b8343.tar.gz nuttx-876a38713e205a601078e587d0b34c456f8b8343.tar.bz2 nuttx-876a38713e205a601078e587d0b34c456f8b8343.zip |
Add header files for z180
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5425 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net/net_poll.c')
-rw-r--r-- | nuttx/net/net_poll.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/net/net_poll.c b/nuttx/net/net_poll.c index ca594c10f..815c6a71d 100644 --- a/nuttx/net/net_poll.c +++ b/nuttx/net/net_poll.c @@ -141,6 +141,7 @@ static uint16_t poll_interrupt(struct uip_driver_s *dev, FAR void *conn, sem_post(fds->sem); } } + return flags; } #endif /* HAVE_NETPOLL */ @@ -219,6 +220,7 @@ static inline int net_pollsetup(FAR struct socket *psock, struct pollfd *fds) sem_post(fds->sem); } } + uip_unlock(flags); return OK; |