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 | 2b1f75ced63fb51305a97a4f6c9c73141f2689cd (patch) | |
tree | 895a81fa1c3c6163d05b0996afb9a6b8bb7d4dd6 /nuttx/net | |
parent | 8cb01b42d0c247d9532e1946abf79386f91a931a (diff) | |
download | px4-firmware-2b1f75ced63fb51305a97a4f6c9c73141f2689cd.tar.gz px4-firmware-2b1f75ced63fb51305a97a4f6c9c73141f2689cd.tar.bz2 px4-firmware-2b1f75ced63fb51305a97a4f6c9c73141f2689cd.zip |
Add header files for z180
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5425 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net')
-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; |