Costmetic changes to networking logic

This commit is contained in:
Gregory Nutt
2015-05-31 10:29:53 -06:00
parent d5282359c7
commit a47a0d237c
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -257,7 +257,8 @@ void devif_callback_free(FAR struct net_driver_s *dev,
/* Put the structure into the free list */
cb->nxtconn = g_cbfreelist;
cb->nxtconn = g_cbfreelist;
cb->nxtdev = NULL;
g_cbfreelist = cb;
net_unlock(save);
}
+1 -1
View File
@@ -895,7 +895,7 @@ static uint16_t recvfrom_tcpinterrupt(FAR struct net_driver_s *dev,
/* Wake up the waiting thread, returning either the error -EAGAIN
* that signals the timeout event or the data received up to
* the point tht the timeout occured (no error).
* the point that the timeout occurred (no error).
*/
sem_post(&pstate->rf_sem);