[SCSI] lpfc 8.3.40: Fix to allow OCM to report FEC status
authorJames Smart <james.smart@emulex.com>
Fri, 31 May 2013 21:04:50 +0000 (17:04 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 26 Jun 2013 17:48:48 +0000 (10:48 -0700)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_bsg.c

index 094be2cad65bba821e9050a48bb2602dfd65f067..565dd72ce4a3851c9c954b8ac351571a9cdce827 100644 (file)
@@ -3392,6 +3392,7 @@ static int lpfc_bsg_check_cmd_access(struct lpfc_hba *phba,
        case MBX_DOWN_LOAD:
        case MBX_UPDATE_CFG:
        case MBX_KILL_BOARD:
+       case MBX_READ_TOPOLOGY:
        case MBX_LOAD_AREA:
        case MBX_LOAD_EXP_ROM:
        case MBX_BEACON:
@@ -3422,7 +3423,6 @@ static int lpfc_bsg_check_cmd_access(struct lpfc_hba *phba,
                }
                break;
        case MBX_READ_SPARM64:
-       case MBX_READ_TOPOLOGY:
        case MBX_REG_LOGIN:
        case MBX_REG_LOGIN64:
        case MBX_CONFIG_PORT: