style fixes, cherry-pick this and fixup with ae87790

This commit is contained in:
Adam Dunkels 2014-12-10 09:07:20 +01:00 committed by Joakim Eriksson
parent 5be43c6f8d
commit fc4a83085a
2 changed files with 4 additions and 4 deletions

View file

@ -127,9 +127,10 @@ neighbor_link_callback(rpl_parent_t *p, int status, int numtx)
nbr = rpl_get_nbr(p);
if(nbr == NULL) {
/* No neighbor for this parent - something bad has occured!??? */
/* No neighbor for this parent - something bad has occured */
return;
}
recorded_etx = nbr->link_metric;
/* Do not penalize the ETX when collisions or transmission errors occur. */