]> err.no Git - linux-2.6/commit
firewire: fw-sbp2: skip unnecessary logout
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 20 Jan 2008 00:24:26 +0000 (01:24 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 30 Jan 2008 21:22:26 +0000 (22:22 +0100)
commit4dccd020d7ca5e673d7804cc4ff80fbf58d8a37e
treed9d1c5a6c218b8d8aeb35ce7c0a3848298d8c490
parentf148e20cef696e30a370d4f7cb9aeb46273fdd6e
firewire: fw-sbp2: skip unnecessary logout

Don't attempt to send a logout ORB if the target was already unplugged
or had its link switched off.  If two targets are attached, this
enhances the chance to quickly reconnect to the remaining target when
one target is plugged out.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: Jarod Wilson <jwilson@redhat.com>
drivers/firewire/fw-sbp2.c