diff options
author | Chad Dupuis <chad.dupuis@qlogic.com> | 2012-08-22 20:21:09 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 10:10:49 +0200 |
commit | 79cc785fc7dc16c4f7d7b475cd64695789c48eda (patch) | |
tree | aab96072998009ff800d7f8e2d0ddfb737e430a1 /drivers/scsi/qla2xxx/qla_isr.c | |
parent | [SCSI] qla2xxx: Update the driver copyright. (diff) | |
download | linux-79cc785fc7dc16c4f7d7b475cd64695789c48eda.tar.xz linux-79cc785fc7dc16c4f7d7b475cd64695789c48eda.zip |
[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>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-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: * it. Otherwise ignore it and Wait for RSCN to come in. */ atomic_set(&vha->loop_down_timer, 0); - if (atomic_read(&vha->loop_state) != LOOP_DOWN && - atomic_read(&vha->loop_state) != LOOP_DEAD) { + if (mb[1] != 0xffff || (mb[2] != 0x6 && mb[2] != 0x4)) { ql_dbg(ql_dbg_async, vha, 0x5011, "Asynchronous PORT UPDATE ignored %04x/%04x/%04x.\n", mb[1], mb[2], mb[3]); |