From: Stefan Richter Date: Wed, 7 Oct 2009 22:39:31 +0000 (+0200) Subject: firewire: sbp2: provide fallback if mgt_ORB_timeout is missing X-Git-Tag: v2.6.32-rc5~15^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaf76e0d027a917a013ad8a88a94132d0feab622;p=pandora-kernel.git firewire: sbp2: provide fallback if mgt_ORB_timeout is missing The Unit_Characteristics entry of an SBP-2 unit directory is not mandatory as far as I can tell. If it is missing, we would probably fail to log in into the target because firewire-sbp2 would not wait for status after it sent the login request. The fix moves the cleanup of tgt->mgt_orb_timeout into a place where it is executed exactly once before login, rather than 0..n times depending on the target's config ROM. With targets with one or more Unit_Characteristics entries, the result is the same as before. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed