RDMA/nes: Correct cap.max_inline_data assignment in nes_query_qp()
authorChien Tung <chien.tin.tung@intel.com>
Thu, 25 Mar 2010 13:39:50 +0000 (13:39 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 7 Apr 2010 21:16:08 +0000 (14:16 -0700)
commiteadde3a1a5291492098e8b0b6435d075fc22486b
tree4175c2febc25a04c171a6834df1728d98815a0e2
parentb72c40949b0f04728f2993a1434598d3bad094ea
RDMA/nes: Correct cap.max_inline_data assignment in nes_query_qp()

cap.max_inline_data is incorrectly set in init_attr instead of attr.
Set it in attr so subsequent init_attr.cap assignment will get the
correct value.

Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_verbs.c