Fix: ibnetdiscover shows FDR10 speeds as QDR due to bug in setting
default parameters.

Signed-off-by: Daniel Klein <[email protected]>
---
 src/ibnetdiscover.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/ibnetdiscover.c b/src/ibnetdiscover.c
index fe785b3..7e35449 100644
--- a/src/ibnetdiscover.c
+++ b/src/ibnetdiscover.c
@@ -1108,6 +1108,8 @@ int main(int argc, char **argv)
        if (ibd_timeout)
                config.timeout_ms = ibd_timeout;
 
+       config.flags = ibd_ibnetdisc_flags;
+
        if (argc && !(f = fopen(argv[0], "w")))
                IBERROR("can't open file %s for writing", argv[0]);
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to