aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/be2iscsi/be_mgmt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/be2iscsi/be_mgmt.c b/drivers/scsi/be2iscsi/be_mgmt.c
index 18f80411aef6..b0bb54dafbe9 100644
--- a/drivers/scsi/be2iscsi/be_mgmt.c
+++ b/drivers/scsi/be2iscsi/be_mgmt.c
@@ -49,12 +49,12 @@ unsigned char mgmt_get_fw_config(struct be_ctrl_info *ctrl,
49 phba->fw_config.iscsi_cid_count = 49 phba->fw_config.iscsi_cid_count =
50 pfw_cfg->ulp[0].sq_count; 50 pfw_cfg->ulp[0].sq_count;
51 if (phba->fw_config.iscsi_cid_count > (BE2_MAX_SESSIONS / 2)) { 51 if (phba->fw_config.iscsi_cid_count > (BE2_MAX_SESSIONS / 2)) {
52 status = 1; 52 SE_DEBUG(DBG_LVL_8,
53 shost_printk(KERN_WARNING, phba->shost, 53 "FW reported MAX CXNS as %d \t"
54 "FW reported MAX CXNS as %d \t" 54 "Max Supported = %d.\n",
55 "Max Supported = %d. Failing to load \n", 55 phba->fw_config.iscsi_cid_count,
56 phba->fw_config.iscsi_cid_count, 56 BE2_MAX_SESSIONS);
57 BE2_MAX_SESSIONS); 57 phba->fw_config.iscsi_cid_count = BE2_MAX_SESSIONS / 2;
58 } 58 }
59 } else { 59 } else {
60 shost_printk(KERN_WARNING, phba->shost, 60 shost_printk(KERN_WARNING, phba->shost,