IB/mad: Fix RMPP version check during agent registration
authorHal Rosenstock <halr@voltaire.com>
Thu, 13 Apr 2006 01:29:10 +0000 (21:29 -0400)
committerRoland Dreier <rolandd@cisco.com>
Wed, 19 Apr 2006 18:40:11 +0000 (11:40 -0700)
commit64cb9c6aff273b1cd449e773c937378d68233f8b
treea39978e7cbc58de3edda228c95ca328ced510435
parentf80887d0b9e1af481dc4a30fc145dfed24ddfd59
IB/mad: Fix RMPP version check during agent registration

Only check that RMPP version is not specified when MAD class does not
support RMPP.  Just because a class is allowed to use RMPP doesn't
mean that rmpp_version needs to be set for the MAD agent to
register. Checking this was a recent change which was too pedantic.

Signed-off-by: Hal Rosenstock <halr@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/mad.c