r6040: fix check against MCRO_HASHEN bit in r6040_multicast_list
authorFlorian Fainelli <florian@openwrt.org>
Wed, 16 Nov 2011 06:00:08 +0000 (06:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2011 01:24:52 +0000 (20:24 -0500)
commitbbc13ab9d26f4ff675775dd7dc24d5cae17b85d5
treee07632d64f41b7b52ca634ce803e47a72c2ea72c
parent377a4673147d0144cf4951bf91f4c867a2c18e5e
r6040: fix check against MCRO_HASHEN bit in r6040_multicast_list

We are checking whether the MCR0_HASHEN bit is set using a logical and
instead of bitwise and, fix that.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rdc/r6040.c