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>
This commit is contained in:
Kumar Sanghvi 2012-02-25 17:45:02 -08:00 • committed by Roland Dreier
commit 91018f8632