]> err.no Git - linux-2.6/blobdiff - drivers/scsi/lpfc/lpfc_attr.c
Merge branch 'for-linus' of git://neil.brown.name/md
[linux-2.6] / drivers / scsi / lpfc / lpfc_attr.c
index 960baaf11fb181d8e357cb124f35e98a5b883307..37bfa0bd1dae2f335b4ed1513bfe908907f7ffe4 100644 (file)
@@ -1995,8 +1995,7 @@ sysfs_mbox_read(struct kobject *kobj, struct bin_attribute *bin_attr,
                /* Don't allow mailbox commands to be sent when blocked
                 * or when in the middle of discovery
                 */
-               if (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO ||
-                   vport->fc_flag & FC_NDISC_ACTIVE) {
+               if (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO) {
                        sysfs_mbox_idle(phba);
                        spin_unlock_irq(&phba->hbalock);
                        return  -EAGAIN;