@@ -55,7 +55,7 @@ static char transport_binding[MAX_INSTANCE_COUNT][TRANSPORT_BINDING_LEN];
55
55
/* Server object version 1.1 */
56
56
static uint8_t priority [MAX_INSTANCE_COUNT ];
57
57
static bool mute_send [MAX_INSTANCE_COUNT ];
58
- static bool boostrap_on_fail [MAX_INSTANCE_COUNT ];
58
+ static bool bootstrap_on_fail [MAX_INSTANCE_COUNT ];
59
59
60
60
static struct lwm2m_engine_obj server ;
61
61
static struct lwm2m_engine_obj_field fields [] = {
@@ -355,7 +355,7 @@ static struct lwm2m_engine_obj_inst *server_create(uint16_t obj_inst_id)
355
355
default_min_period [index ] = CONFIG_LWM2M_SERVER_DEFAULT_PMIN ;
356
356
default_max_period [index ] = CONFIG_LWM2M_SERVER_DEFAULT_PMAX ;
357
357
disabled_timeout [index ] = 86400U ;
358
- boostrap_on_fail [index ] = true;
358
+ bootstrap_on_fail [index ] = true;
359
359
360
360
lwm2m_engine_get_binding (transport_binding [index ]);
361
361
@@ -410,7 +410,7 @@ static struct lwm2m_engine_obj_inst *server_create(uint16_t obj_inst_id)
410
410
INIT_OBJ_RES_OPTDATA (SERVER_REGISTRATION_FAILURE_BLOCK_ID , res [index ], i ,
411
411
res_inst [index ], j );
412
412
INIT_OBJ_RES_DATA (SERVER_BOOTSTRAP_ON_REGISTRATION_FAILURE_ID , res [index ], i ,
413
- res_inst [index ], j , & boostrap_on_fail [index ], sizeof (bool ));
413
+ res_inst [index ], j , & bootstrap_on_fail [index ], sizeof (bool ));
414
414
INIT_OBJ_RES_OPTDATA (SERVER_COMMUNICATION_RETRY_COUNT_ID , res [index ], i ,
415
415
res_inst [index ], j );
416
416
INIT_OBJ_RES_OPTDATA (SERVER_COMMUNICATION_RETRY_TIMER_ID , res [index ], i ,
0 commit comments