diff --git a/qla2x00t/qla_attr.c b/qla2x00t/qla_attr.c index efb3fedd9..92d1736ef 100644 --- a/qla2x00t/qla_attr.c +++ b/qla2x00t/qla_attr.c @@ -418,16 +418,16 @@ next: gid = (struct gid_list_info *)id_iter; if (IS_QLA2100(ha) || IS_QLA2200(ha)) { size += scnprintf(buffer+size, max_size-size, - "%04x %02x%02x%02x %02x\n", - le16_to_cpu(gid->loop_id), + "%02x %02x%02x%02x\n", + gid->loop_id_2100, gid->domain, gid->area, - gid->al_pa, - gid->loop_id_2100); + gid->al_pa); + } else { size += scnprintf(buffer+size, max_size-size, - "%02x %02x%02x%02x\n", - gid->loop_id_2100, + "%04x %02x%02x%02x\n", + le16_to_cpu(gid->loop_id), gid->domain, gid->area, gid->al_pa);