diff options
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index d501bf5f806b..a60396725e8a 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -4505,9 +4505,9 @@ qla2x00_do_dpc(void *data) | |||
4505 | "ISP abort end.\n"); | 4505 | "ISP abort end.\n"); |
4506 | } | 4506 | } |
4507 | 4507 | ||
4508 | if (test_bit(FCPORT_UPDATE_NEEDED, &base_vha->dpc_flags)) { | 4508 | if (test_and_clear_bit(FCPORT_UPDATE_NEEDED, |
4509 | &base_vha->dpc_flags)) { | ||
4509 | qla2x00_update_fcports(base_vha); | 4510 | qla2x00_update_fcports(base_vha); |
4510 | clear_bit(FCPORT_UPDATE_NEEDED, &base_vha->dpc_flags); | ||
4511 | } | 4511 | } |
4512 | 4512 | ||
4513 | if (test_bit(SCR_PENDING, &base_vha->dpc_flags)) { | 4513 | if (test_bit(SCR_PENDING, &base_vha->dpc_flags)) { |