Bugfix: address of first argument to collect_neighbor_list_best()
This commit is contained in:
parent
754b3113c2
commit
3bca8cfe3d
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: sky-shell.c,v 1.21 2010/09/13 14:33:20 adamdunkels Exp $
|
||||
* $Id: sky-shell.c,v 1.22 2010/09/13 14:34:51 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -221,7 +221,7 @@ PROCESS_THREAD(shell_sky_alldata_process, ev, data)
|
|||
rimeaddr_copy(&msg.best_neighbor, &rimeaddr_null);
|
||||
msg.best_neighbor_etx =
|
||||
msg.best_neighbor_rtmetric = 0;
|
||||
n = collect_neighbor_list_best(shell_collect_conn.neighbor_list);
|
||||
n = collect_neighbor_list_best(&shell_collect_conn.neighbor_list);
|
||||
if(n != NULL) {
|
||||
rimeaddr_copy(&msg.best_neighbor, &n->addr);
|
||||
msg.best_neighbor_etx = collect_neighbor_rtmetric(n) - n->rtmetric;
|
||||
|
|
Loading…
Reference in a new issue