aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hbadisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index 678a4b11059c..2cadb8271f10 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -5332,6 +5332,10 @@ lpfc_filter_by_rpi(struct lpfc_nodelist *ndlp, void *param)
5332{ 5332{
5333 uint16_t *rpi = param; 5333 uint16_t *rpi = param;
5334 5334
5335 /* check for active node */
5336 if (!NLP_CHK_NODE_ACT(ndlp))
5337 return 0;
5338
5335 return ndlp->nlp_rpi == *rpi; 5339 return ndlp->nlp_rpi == *rpi;
5336} 5340}
5337 5341