mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
net/bringup: late net init after nsh script done
This commit is contained in:
@@ -42,7 +42,6 @@
|
||||
#include <sys/boardctl.h>
|
||||
|
||||
#include "system/readline.h"
|
||||
#include "netutils/netinit.h"
|
||||
#include "nshlib/nshlib.h"
|
||||
|
||||
#include "nsh.h"
|
||||
@@ -103,10 +102,4 @@ void nsh_initialize(void)
|
||||
|
||||
boardctl(BOARDIOC_INIT, 0);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NSH_NETINIT
|
||||
/* Bring up the network */
|
||||
|
||||
netinit_bringup();
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user