IB/mthca: Return correct number of bits for static rate in query_qp
authorJack Morgenstein <jackm@mellanox.co.il>
Mon, 28 Aug 2006 16:12:39 +0000 (19:12 +0300)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:42 +0000 (15:22 -0700)
commit9e583b85c2a0215dc7f4427361b4f75fcc0316af
tree2ad47c07a32da31189fc5d017e757adab34154fc
parentf6f76725b5ed8085c602b16bfd309c9957fb84c8
IB/mthca: Return correct number of bits for static rate in query_qp

Incorrect number of bits was taken for static_rate field.

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