Fix network poll() issue: don't interrupt poll if socket not connected. Listen sockets are not connected and the poll() is waiting for connection events.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5717 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
edeb45f8c5
commit
8a92ebd7d0
@ -764,7 +764,7 @@ static inline void lm_portcontrol(uint32_t base, uint32_t pinno,
|
|||||||
putreg32(regval, base + LM_GPIO_PCTL_OFFSET);
|
putreg32(regval, base + LM_GPIO_PCTL_OFFSET);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# define lm_portcontrol(b,p,f)
|
# define lm_portcontrol(b,p,c,f)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user