i, entry->neighbor, entry->info.parent, entry->info.hopcount);
continue;
}
-
+ if (TOS_NODE_ID > 10 && entry->neighbor == 0) {
+ continue;
+ }
/* Compute this neighbor's path metric */
linkMetric = evaluateMetric(call LinkEstimator.getLinkQuality(entry->neighbor));
dbg("TreeRouting",
call CollectionDebug.logEventRoute(NET_C_TREE_NEW_PARENT, best->neighbor, best->info.hopcount + 1, best->info.metric);
call LinkEstimator.unpinNeighbor(routeInfo.parent);
call LinkEstimator.pinNeighbor(best->neighbor);
+ call LinkEstimator.clearDLQ(best->neighbor);
atomic {
routeInfo.parent = best->neighbor;
routeInfo.metric = best->info.metric;