aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/firewire/fw-sbp2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 077f1c09dad4..914170bb50a8 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -741,6 +741,12 @@ static void sbp2_login(struct work_struct *work)
741 PREPARE_DELAYED_WORK(&lu->work, sbp2_reconnect); 741 PREPARE_DELAYED_WORK(&lu->work, sbp2_reconnect);
742 sbp2_agent_reset(lu); 742 sbp2_agent_reset(lu);
743 743
744 /* This was a re-login. */
745 if (lu->sdev) {
746 sbp2_cancel_orbs(lu);
747 goto out;
748 }
749
744 if (lu->tgt->workarounds & SBP2_WORKAROUND_DELAY_INQUIRY) 750 if (lu->tgt->workarounds & SBP2_WORKAROUND_DELAY_INQUIRY)
745 ssleep(SBP2_INQUIRY_DELAY); 751 ssleep(SBP2_INQUIRY_DELAY);
746 752