diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2016-02-11 10:24:42 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-02-11 11:05:56 -0500 |
commit | ee50aeac60ba5c4c7e072fbc0c9aa2043c8896e6 (patch) | |
tree | c1e2f8652b33fe7931b73518ff50cbfbd9f39363 /net/tipc/node.c | |
parent | fa51b247d67b521e1a1103cad75eb7a666fc9ff9 (diff) |
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>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions