diff options
author | Chad Dupuis <chad.dupuis@qlogic.com> | 2012-08-22 14:21:09 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 04:10:49 -0400 |
commit | 79cc785fc7dc16c4f7d7b475cd64695789c48eda (patch) | |
tree | aab96072998009ff800d7f8e2d0ddfb737e430a1 | |
parent | 46152ceb7c9d3bc39715a9994122a6e403cd3db8 (diff) |
[SCSI] qla2xxx: Only enable link up on the correct interrupt event.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 47b3c5568c34..686099267dd5 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -843,8 +843,7 @@ skip_rio: | |||
843 | * it. Otherwise ignore it and Wait for RSCN to come in. | 843 | * it. Otherwise ignore it and Wait for RSCN to come in. |
844 | */ | 844 | */ |
845 | atomic_set(&vha->loop_down_timer, 0); | 845 | atomic_set(&vha->loop_down_timer, 0); |
846 | if (atomic_read(&vha->loop_state) != LOOP_DOWN && | 846 | if (mb[1] != 0xffff || (mb[2] != 0x6 && mb[2] != 0x4)) { |
847 | atomic_read(&vha->loop_state) != LOOP_DEAD) { | ||
848 | ql_dbg(ql_dbg_async, vha, 0x5011, | 847 | ql_dbg(ql_dbg_async, vha, 0x5011, |
849 | "Asynchronous PORT UPDATE ignored %04x/%04x/%04x.\n", | 848 | "Asynchronous PORT UPDATE ignored %04x/%04x/%04x.\n", |
850 | mb[1], mb[2], mb[3]); | 849 | mb[1], mb[2], mb[3]); |