]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: fix error in rx completion processing.
authorAjit Khaparde <ajitk@serverengines.com>
Sat, 12 Dec 2009 06:59:09 +0000 (22:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2009 06:59:09 +0000 (22:59 -0800)
commite1187b3be72be59625e445b186007e6eae27fef1
tree7b1204372d860ce357e651d3817db3f857019ee2
parent7227909340477c1e5225bb2df76cdcc95b5e1da1
be2net: fix error in rx completion processing.

There are certain skews of the NIC which have multiple bits set in
adapter->cap.  Use & instead of == to process rx completions.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c