mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
drivers/wireless/cc3000: CC3000 driver update from David Sidrane
This commit is contained in:
@@ -506,7 +506,7 @@ static void * select_thread_func(FAR void *arg)
|
||||
{
|
||||
if (priv->sockets[s].sd != FREE_SLOT && /* Check that the socket is valid */
|
||||
priv->sockets[s].sd != priv->accepting_socket.acc.sd && /* Verify this is not an accept socket */
|
||||
C3000_FD_ISSET(priv->sockets[s].sd, &readsds)) /* and has pending data */
|
||||
CC3000_FD_ISSET(priv->sockets[s].sd, &readsds)) /* and has pending data */
|
||||
{
|
||||
sem_post(&priv->sockets[s].semwait); /* release the semaphore */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user