Commit e19e713d authored by claes's avatar claes

Bugfix in NodeConnectionFull

parent 1f8d4591
/* /*
* Proview $Id: rt_neth.c,v 1.15 2008-06-24 06:57:36 claes Exp $ * Proview $Id: rt_neth.c,v 1.16 2008-09-05 08:56:23 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -255,6 +255,9 @@ addNodes (void) ...@@ -255,6 +255,9 @@ addNodes (void)
gdb_AssumeUnlocked; gdb_AssumeUnlocked;
for (nid = qcom_cNNid; qcom_NextNode(&sts, &node, nid); nid = node.nid) { for (nid = qcom_cNNid; qcom_NextNode(&sts, &node, nid); nid = node.nid) {
if ( node.connection != qcom_eNodeConnectionFull)
continue;
np = addNode(&node); np = addNode(&node);
if (node.flags.b.connected) if (node.flags.b.connected)
connectNode(np); connectNode(np);
...@@ -629,6 +632,8 @@ linkConnect ( ...@@ -629,6 +632,8 @@ linkConnect (
gdb_AssumeUnlocked; gdb_AssumeUnlocked;
if ( node->connection != qcom_eNodeConnectionFull)
return;
np = addNode(node); np = addNode(node);
connectNode(np); connectNode(np);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment