lkml.org 
[lkml]   [2008]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] firewire: catch self_id_count == 0
I wrote:
> --- linux.orig/drivers/firewire/fw-topology.c
> +++ linux/drivers/firewire/fw-topology.c
> @@ -513,6 +513,11 @@ fw_core_handle_bus_reset(struct fw_card
>
> fw_flush_transactions(card);
>
> + if (self_id_count == 0) {
> + fw_destroy_nodes(card);
> + return;
> + }

We may also want to update some other card-> members, pull the topology
map down, and whatnot...
--
Stefan Richter
-=====-==--- --== =--==
http://arcgraph.de/sr/



\
 
 \ /
  Last update: 2008-03-19 22:47    [from the cache]
©2003-2011 Jasper Spaans