]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Set correctly allow_loopback flag
authorHadar Hen Zion <hadarh@mellanox.com>
Wed, 30 Jan 2013 23:07:03 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 17:48:46 +0000 (12:48 -0500)
commite427aee403b9daa56a0d76444e69ef4ef28a25ef
treee5867de8102b81cecf9cb1b6b6d71a725ee4c2bf
parent52e4ae498ec4071250923b6f16704bc691505260
net/mlx4_core: Set correctly allow_loopback flag

The allow_loopback flag was wrongly set using arithmetic bit operation, change
the code to use logical bit operation.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/mcg.c