@@ -1199,7 +1199,7 @@ int ws_bbr_rpl_parameters_set(int8_t interface_id, uint8_t dio_interval_min, uin
1199
1199
protocol_interface_info_entry_t * cur = protocol_stack_interface_info_get_by_id (interface_id );
1200
1200
1201
1201
ws_bbr_cfg_t cfg ;
1202
- if (ws_cfg_bbr_get (& cfg , NULL ) < 0 ) {
1202
+ if (ws_cfg_bbr_get (& cfg ) < 0 ) {
1203
1203
return -1 ;
1204
1204
}
1205
1205
@@ -1213,7 +1213,7 @@ int ws_bbr_rpl_parameters_set(int8_t interface_id, uint8_t dio_interval_min, uin
1213
1213
cfg .dio_redundancy_constant = dio_redundancy_constant ;
1214
1214
}
1215
1215
1216
- if (ws_cfg_bbr_set (cur , NULL , & cfg , 0 ) < 0 ) {
1216
+ if (ws_cfg_bbr_set (cur , & cfg , 0 ) < 0 ) {
1217
1217
return -2 ;
1218
1218
}
1219
1219
@@ -1235,7 +1235,7 @@ int ws_bbr_rpl_parameters_get(int8_t interface_id, uint8_t *dio_interval_min, ui
1235
1235
}
1236
1236
1237
1237
ws_bbr_cfg_t cfg ;
1238
- if (ws_cfg_bbr_get (& cfg , NULL ) < 0 ) {
1238
+ if (ws_cfg_bbr_get (& cfg ) < 0 ) {
1239
1239
return -2 ;
1240
1240
}
1241
1241
@@ -1257,7 +1257,7 @@ int ws_bbr_rpl_parameters_validate(int8_t interface_id, uint8_t dio_interval_min
1257
1257
(void ) interface_id ;
1258
1258
#ifdef HAVE_WS_BORDER_ROUTER
1259
1259
ws_bbr_cfg_t cfg ;
1260
- if (ws_cfg_bbr_get (& cfg , NULL ) < 0 ) {
1260
+ if (ws_cfg_bbr_get (& cfg ) < 0 ) {
1261
1261
return -2 ;
1262
1262
}
1263
1263
@@ -1271,7 +1271,7 @@ int ws_bbr_rpl_parameters_validate(int8_t interface_id, uint8_t dio_interval_min
1271
1271
cfg .dio_redundancy_constant = dio_redundancy_constant ;
1272
1272
}
1273
1273
1274
- if (ws_cfg_bbr_validate (NULL , & cfg ) < 0 ) {
1274
+ if (ws_cfg_bbr_validate (& cfg ) < 0 ) {
1275
1275
return -3 ;
1276
1276
}
1277
1277
@@ -1318,13 +1318,13 @@ int ws_bbr_pan_configuration_set(int8_t interface_id, uint16_t pan_id)
1318
1318
protocol_interface_info_entry_t * cur = protocol_stack_interface_info_get_by_id (interface_id );
1319
1319
1320
1320
ws_gen_cfg_t cfg ;
1321
- if (ws_cfg_gen_get (& cfg , NULL ) < 0 ) {
1321
+ if (ws_cfg_gen_get (& cfg ) < 0 ) {
1322
1322
return -1 ;
1323
1323
}
1324
1324
1325
1325
cfg .network_pan_id = pan_id ;
1326
1326
1327
- if (ws_cfg_gen_set (cur , NULL , & cfg , 0 ) < 0 ) {
1327
+ if (ws_cfg_gen_set (cur , & cfg , 0 ) < 0 ) {
1328
1328
return -2 ;
1329
1329
}
1330
1330
@@ -1344,7 +1344,7 @@ int ws_bbr_pan_configuration_get(int8_t interface_id, uint16_t *pan_id)
1344
1344
}
1345
1345
1346
1346
ws_gen_cfg_t cfg ;
1347
- if (ws_cfg_gen_get (& cfg , NULL ) < 0 ) {
1347
+ if (ws_cfg_gen_get (& cfg ) < 0 ) {
1348
1348
return -2 ;
1349
1349
}
1350
1350
@@ -1362,13 +1362,13 @@ int ws_bbr_pan_configuration_validate(int8_t interface_id, uint16_t pan_id)
1362
1362
(void ) interface_id ;
1363
1363
#ifdef HAVE_WS_BORDER_ROUTER
1364
1364
ws_gen_cfg_t cfg ;
1365
- if (ws_cfg_gen_get (& cfg , NULL ) < 0 ) {
1365
+ if (ws_cfg_gen_get (& cfg ) < 0 ) {
1366
1366
return -1 ;
1367
1367
}
1368
1368
1369
1369
cfg .network_pan_id = pan_id ;
1370
1370
1371
- if (ws_cfg_gen_validate (NULL , & cfg ) < 0 ) {
1371
+ if (ws_cfg_gen_validate (& cfg ) < 0 ) {
1372
1372
return -2 ;
1373
1373
}
1374
1374
0 commit comments