diff options
author | Michael Brown | 2009-07-17 23:40:12 +0200 |
---|---|---|
committer | Michael Brown | 2009-07-18 00:06:35 +0200 |
commit | ea6eb7f7ed32f6141813b8f0c3e382b1d2bdcbd8 (patch) | |
tree | f29fb470495b29fe03e533d15a6b9bbcecdf54a7 /src/net/infiniband/ib_gma.c | |
parent | [infiniband] Expose supported and enabled link speeds and widths (diff) | |
download | ipxe-ea6eb7f7ed32f6141813b8f0c3e382b1d2bdcbd8.tar.gz ipxe-ea6eb7f7ed32f6141813b8f0c3e382b1d2bdcbd8.tar.xz ipxe-ea6eb7f7ed32f6141813b8f0c3e382b1d2bdcbd8.zip |
[infiniband] Pass a generic MAD to ib_set_port_info()
Diffstat (limited to 'src/net/infiniband/ib_gma.c')
-rw-r--r-- | src/net/infiniband/ib_gma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/infiniband/ib_gma.c b/src/net/infiniband/ib_gma.c index 4ed054ca..679de6f1 100644 --- a/src/net/infiniband/ib_gma.c +++ b/src/net/infiniband/ib_gma.c @@ -255,7 +255,7 @@ static union ib_mad * ib_sma_set_port_info ( struct ib_gma *gma, "%02x\n", gma, ibdev->lid, ibdev->sm_lid, ibdev->link_width_enabled, ibdev->link_speed_enabled ); - if ( ( rc = ib_set_port_info ( ibdev, port_info ) ) != 0 ) { + if ( ( rc = ib_set_port_info ( ibdev, mad ) ) != 0 ) { DBGC ( gma, "GMA %p could not set port information: %s\n", gma, strerror ( rc ) ); mad->hdr.status = |