mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-17 13:29:10 +00:00
Merge pull request #1574 from warner83/master
Fixed a bug into tsch-schedule - tsch_schedule_add_link that causes d…
This commit is contained in:
commit
2b04888f16
@ -191,6 +191,7 @@ tsch_schedule_add_link(struct tsch_slotframe *slotframe,
|
|||||||
l = memb_alloc(&link_memb);
|
l = memb_alloc(&link_memb);
|
||||||
if(l == NULL) {
|
if(l == NULL) {
|
||||||
PRINTF("TSCH-schedule:! add_link memb_alloc failed\n");
|
PRINTF("TSCH-schedule:! add_link memb_alloc failed\n");
|
||||||
|
tsch_release_lock();
|
||||||
} else {
|
} else {
|
||||||
static int current_link_handle = 0;
|
static int current_link_handle = 0;
|
||||||
struct tsch_neighbor *n;
|
struct tsch_neighbor *n;
|
||||||
|
Loading…
Reference in New Issue
Block a user