summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/firewire.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire/firewire.c')
-rw-r--r--sys/dev/firewire/firewire.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c
index c2d4edf..c2484ae 100644
--- a/sys/dev/firewire/firewire.c
+++ b/sys/dev/firewire/firewire.c
@@ -1641,7 +1641,11 @@ fw_explore_node(struct fw_device *dfwdev)
break;
}
- /* inesrt into sorted fwdev list */
+
+ /*
+ * If the fwdev is not found in the
+ * fc->devices TAILQ, then we will add it.
+ */
pfwdev = NULL;
STAILQ_FOREACH(tfwdev, &fc->devices, link) {
if (tfwdev->eui.hi > fwdev->eui.hi ||
OpenPOWER on IntegriCloud