From: Stefan Richter Date: Wed, 19 Mar 2008 21:05:02 +0000 (+0100) Subject: firewire: fw-ohci: catch self_id_count == 0 X-Git-Tag: v2.6.26-rc1~1141^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=016bf3dfcf7c7fbad8f02e72b6e01d6773426f9d;p=pandora-kernel.git firewire: fw-ohci: catch self_id_count == 0 fw_core_handle_bus_reset() incorrectly relied on the assumption that self_id_count > 0. We check early in fw-ohci and discard the self ID complete event if self_id_count == 0 because a valid event always has at least one self ID packet in it (the one of the local node). Hence treat self_id_count == 0 like any other kind of invalid self ID buffer. Signed-off-by: Stefan Richter Signed-off-by: Jarod Wilson --- Reading git-diff-tree failed