aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/fcoe/fcoe.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
index 0b44d057ccc3..94fb4802e580 100644
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -2130,7 +2130,13 @@ void fcoe_percpu_clean(struct fc_lport *lport)
2130int fcoe_reset(struct Scsi_Host *shost) 2130int fcoe_reset(struct Scsi_Host *shost)
2131{ 2131{
2132 struct fc_lport *lport = shost_priv(shost); 2132 struct fc_lport *lport = shost_priv(shost);
2133 fc_lport_reset(lport); 2133 struct fcoe_port *port = lport_priv(lport);
2134 struct fcoe_interface *fcoe = port->priv;
2135
2136 fcoe_ctlr_link_down(&fcoe->ctlr);
2137 fcoe_clean_pending_queue(fcoe->ctlr.lp);
2138 if (!fcoe_link_ok(fcoe->ctlr.lp))
2139 fcoe_ctlr_link_up(&fcoe->ctlr);
2134 return 0; 2140 return 0;
2135} 2141}
2136 2142