mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 21:52:04 +00:00
[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>
This commit is contained in:
parent
46152ceb7c
commit
79cc785fc7
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user