IB/mthca: Return port number for unconnected QPs in query_qp
authorJack Morgenstein <jackm@mellanox.co.il>
Mon, 28 Aug 2006 16:10:34 +0000 (19:10 +0300)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:41 +0000 (15:22 -0700)
commitf6f76725b5ed8085c602b16bfd309c9957fb84c8
treed1784262a4239e7e17dc1262f2a4112561553639
parentb046a04e162dc7f468700a0817acda0321b2b3ae
IB/mthca: Return port number for unconnected QPs in query_qp

port_num was not being returned for unconnected QPs.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c