RDMA/cxgb4: Add missing peer2peer check in MPAv2 code
authorKumar Sanghvi <kumaras@chelsio.com>
Sun, 26 Feb 2012 01:45:02 +0000 (17:45 -0800)
committerRoland Dreier <roland@purestorage.com>
Sun, 26 Feb 2012 01:45:02 +0000 (17:45 -0800)
commit91018f8632e09e3a617c9fc2efbbdaa2922d2fe7
tree8b886b9a607ba59b2d8d3162e8a97722c31d8f25
parent6b21d18ed50c7d145220b0724ea7f2613abf0f95
RDMA/cxgb4: Add missing peer2peer check in MPAv2 code

Don't worry about p2p_type if peer2peer itself is not requested in the
first place.

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c