[ofa-general] [PATCH] infiniband-diags/ibnetdiscover: Fix DDR link speed decode

davem at systemfabricworks.com davem at systemfabricworks.com
Fri Jul 20 08:12:03 PDT 2007



   Fix ibnetdiscover DDR link speed decode by moving string from [3] to [2].

Signed-off-by: David A. McMillen <davem at systemfabricworks.com>
---
 infiniband-diags/src/ibnetdiscover.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/infiniband-diags/src/ibnetdiscover.c b/infiniband-diags/src/ibnetdiscover.c
index c321d59..ccd70cb 100644
--- a/infiniband-diags/src/ibnetdiscover.c
+++ b/infiniband-diags/src/ibnetdiscover.c
@@ -78,8 +78,8 @@ static char *linkwidth_str[] = {
 static char *linkspeed_str[] = {
 	"???",
 	"SDR",
-	"???",
 	"DDR",
+	"???",
 	"QDR"
 };
 



More information about the general mailing list