[PATCH] IB/mthca: fix static rate returned by mthca_ah_query
authorJack Morgenstein <jackm@mellanox.co.il>
Fri, 14 Jul 2006 07:23:50 +0000 (00:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 15 Jul 2006 04:53:50 +0000 (21:53 -0700)
commit2290d2c9f51d7ee2f45adee79b4d9e080ca15d36
tree958365fdc298f34de525c7b8211397220e17aef9
parentde45921535bfc3b1f63b426c2a9739635f864283
[PATCH] IB/mthca: fix static rate returned by mthca_ah_query

mthca_ah_query returs the static rate of the address handle in internal mthc
format.  fix it to use rate encoding from enum ib_rate, which is what users
expect.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/hw/mthca/mthca_av.c