diff options
Diffstat (limited to 'nuttx/net/net_sockets.c')
-rw-r--r-- | nuttx/net/net_sockets.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/net/net_sockets.c b/nuttx/net/net_sockets.c index 5b3581c86..c6962915d 100644 --- a/nuttx/net/net_sockets.c +++ b/nuttx/net/net_sockets.c @@ -1,7 +1,7 @@ /**************************************************************************** * net/net_sockets.c * - * Copyright (C) 2007-2009, 2011-2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009, 2011-2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -47,6 +47,7 @@ #include <errno.h> #include <debug.h> +#include <nuttx/net/iob.h> #include <nuttx/net/arp.h> #include <nuttx/net/uip/uip.h> #include <nuttx/net/net.h> @@ -105,6 +106,12 @@ void net_initialize(void) uip_initialize(); + /* Initialize I/O buffering */ + +#ifdef CONFIG_NET_IOB + iob_initialize(); +#endif + #ifdef CONFIG_NET_ROUTE /* Initialize the routing table */ |