File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,6 @@ typedef struct {
112112} ws_config_t ;
113113static ws_config_t ws_conf ;
114114
115- static const char default_network_name [] = "ARM-WS-TESTING" ;
116-
117115static void mesh_network_up ()
118116{
119117 tr_debug ("Create Mesh Interface" );
@@ -175,13 +173,8 @@ static void eth_network_data_init()
175173
176174void load_config (void )
177175{
178- #ifdef MBED_CONF_APP_NETWORK_NAME
179176 ws_conf .network_name = malloc (sizeof (MBED_CONF_APP_NETWORK_NAME ) + 1 );
180177 strcpy (ws_conf .network_name , MBED_CONF_APP_NETWORK_NAME );
181- #else
182- ws_conf .network_name = malloc (sizeof (default_network_name ) + 1 );
183- strcpy (ws_conf .network_name , default_network_name );
184- #endif //MBED_CONF_APP_NETWORK_NAME
185178#ifdef MBED_CONF_APP_REGULATORY_DOMAIN
186179 ws_conf .regulatory_domain = MBED_CONF_APP_REGULATORY_DOMAIN ;
187180#else
You can’t perform that action at this time.
0 commit comments