IB/qib: Display correct value for number of contexts
authorMitko Haralanov <mitko.haralanov@intel.com>
Mon, 7 May 2012 18:03:02 +0000 (14:03 -0400)
committerRoland Dreier <roland@purestorage.com>
Mon, 14 May 2012 19:39:04 +0000 (12:39 -0700)
A "fix" for a bug with the number of contexts on a single-port board
caused the calculation to be off by one, which causes problems with
the upper layers.  The same problem exists for number of free
contexts, which is also fixed here.

Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found