summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-13 18:32:15 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-13 18:32:15 -0600
commit71dc1af081d87146d3e706616a38ad0e532ccff4 (patch)
treea7a3d97788b146e4a3f125653ae43c054e7c47e1
parentf32a6053b427c5490a225aa2504d41acf50de8f0 (diff)
downloadnuttx-71dc1af081d87146d3e706616a38ad0e532ccff4.tar.gz
nuttx-71dc1af081d87146d3e706616a38ad0e532ccff4.tar.bz2
nuttx-71dc1af081d87146d3e706616a38ad0e532ccff4.zip
Back out commit d998cbdfa6c10dbd8074dd43c39c23a006505987
-rw-r--r--nuttx/sched/init/os_start.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/sched/init/os_start.c b/nuttx/sched/init/os_start.c
index 31be44e27..fcb305180 100644
--- a/nuttx/sched/init/os_start.c
+++ b/nuttx/sched/init/os_start.c
@@ -465,6 +465,12 @@ void os_start(void)
fs_initialize();
#endif
+#ifdef CONFIG_NET
+ /* Initialize the network system */
+
+ net_initialize();
+#endif
+
/* The processor specific details of running the operating system
* will be handled here. Such things as setting up interrupt
* service routines and starting the clock are some of the things
@@ -473,12 +479,6 @@ void os_start(void)
up_initialize();
-#ifdef CONFIG_NET
- /* Initialize the network system */
-
- net_initialize();
-#endif
-
#ifdef CONFIG_MM_SHM
/* Initialize shared memory support */