Eran Ben Elisha ee50aeac60 IB/core: Fix reading capability mask of the port info class
When checking specific attribute from a bit mask, need to use bitwise
AND and not logical AND, fixed that.

Fixes: 145d9c541032 ('IB/core: Display extended counter set if
available')
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-02-11 11:05:56 -05:00
..
2015-10-08 11:09:10 +01:00
2015-06-12 14:49:18 -04:00
2015-05-05 13:21:27 -04:00
2015-12-23 10:39:52 -05:00
2016-01-19 15:25:45 -05:00
2008-07-14 23:48:44 -07:00
2016-01-19 15:25:45 -05:00
2015-12-23 10:39:52 -05:00
2015-08-30 15:48:24 -04:00