IB/mthca: Check alternate P_Key index when setting alternate path
authorDotan Barak <dotanb@mellanox.co.il>
Wed, 1 Mar 2006 22:28:12 +0000 (14:28 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:18 +0000 (10:08 -0800)
Check that the alternate P_Key index is in range when setting the
alternate path for a QP.  Also make a cosmetic touch up to the debug
message printed when the main P_Key index is out of range.

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found