[SCSI] lpfc 8.1.11 : Discovery Fixes
[deliverable/linux.git] / drivers / scsi / lpfc / lpfc_nportdisc.c
index d5f415007db29dc8335983241bada27bdf2f656b..958c330ecaad8f09a2ad2b231f97144036d2af99 100644 (file)
@@ -1620,8 +1620,8 @@ lpfc_rcv_padisc_npr_node(struct lpfc_hba * phba,
         * or discovery in progress for this node. Starting discovery
         * here will affect the counting of discovery threads.
         */
-       if ((!(ndlp->nlp_flag & NLP_DELAY_TMO)) &&
-               (ndlp->nlp_flag & NLP_NPR_2B_DISC)){
+       if (!(ndlp->nlp_flag & NLP_DELAY_TMO) &&
+               !(ndlp->nlp_flag & NLP_NPR_2B_DISC)){
                if (ndlp->nlp_flag & NLP_NPR_ADISC) {
                        ndlp->nlp_prev_state = NLP_STE_NPR_NODE;
                        ndlp->nlp_state = NLP_STE_ADISC_ISSUE;
This page took 0.028276 seconds and 5 git commands to generate.