unsigned int callopt)
 {
        struct qla_hw_data *ha = vha->hw;
-       struct init_cb_24xx *icb24 = (void *)ha->init_cb;
        struct new_utsname *p_sysid = utsname();
        struct ct_fdmi_hba_attr *eiter;
        uint16_t alen;
        /* MAX CT Payload Length */
        eiter = entries + size;
        eiter->type = cpu_to_be16(FDMI_HBA_MAXIMUM_CT_PAYLOAD_LENGTH);
-       eiter->a.max_ct_len = cpu_to_be32(le16_to_cpu(IS_FWI2_CAPABLE(ha) ?
-               icb24->frame_payload_size : ha->init_cb->frame_payload_size));
+       eiter->a.max_ct_len = cpu_to_be32(ha->frame_payload_size >> 2);
+
        alen = sizeof(eiter->a.max_ct_len);
        alen += FDMI_ATTR_TYPELEN(eiter);
        eiter->len = cpu_to_be16(alen);
        unsigned int callopt)
 {
        struct qla_hw_data *ha = vha->hw;
-       struct init_cb_24xx *icb24 = (void *)ha->init_cb;
        struct new_utsname *p_sysid = utsname();
        char *hostname = p_sysid ?
                p_sysid->nodename : fc_host_system_hostname(vha->host);
        /* Max frame size. */
        eiter = entries + size;
        eiter->type = cpu_to_be16(FDMI_PORT_MAX_FRAME_SIZE);
-       eiter->a.max_frame_size = cpu_to_be32(le16_to_cpu(IS_FWI2_CAPABLE(ha) ?
-               icb24->frame_payload_size : ha->init_cb->frame_payload_size));
+       eiter->a.max_frame_size = cpu_to_be32(ha->frame_payload_size);
        alen = sizeof(eiter->a.max_frame_size);
        alen += FDMI_ATTR_TYPELEN(eiter);
        eiter->len = cpu_to_be16(alen);
 
                         BIT_6) != 0;
                ql_dbg(ql_dbg_init, vha, 0x00bc, "FA-WWPN Support: %s.\n",
                    (ha->flags.fawwpn_enabled) ? "enabled" : "disabled");
+               /* Init_cb will be reused for other command(s).  Save a backup copy of port_name */
+               memcpy(ha->port_name, ha->init_cb->port_name, WWN_SIZE);
        }
 
        /* ELS pass through payload is limit by frame size. */
 
                        if (!vha->vp_idx) {
                                if (ha->flags.fawwpn_enabled &&
                                    (ha->current_topology == ISP_CFG_F)) {
-                                       void *wwpn = ha->init_cb->port_name;
-
-                                       memcpy(vha->port_name, wwpn, WWN_SIZE);
+                                       memcpy(vha->port_name, ha->port_name, WWN_SIZE);
                                        fc_host_port_name(vha->host) =
                                            wwn_to_u64(vha->port_name);
                                        ql_dbg(ql_dbg_init + ql_dbg_verbose,