Messages in this thread | | | Date | Wed, 19 Mar 2008 21:24:38 +0100 (CET) | From | Stefan Richter <> | Subject | Re: [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...
Or instead of all this: Don't call fw_core_handle_bus_reset at all if self_id_count == 0? -- Stefan Richter -=====-==--- --== =--== http://arcgraph.de/sr/
| |