]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
forcedeth: fix tx limit2 flag check
authorAyaz Abdulla <aabdulla@nvidia.com>
Wed, 14 Apr 2010 01:49:51 +0000 (18:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Apr 2010 01:49:51 +0000 (18:49 -0700)
commit5c659322a904a7cc0265e7b183372b9bdebec6db
treed969b1dc657bfdb2465c5e601b4f1cf23db5163c
parenta6d37024de02e7cb2b2333e438e71355a9c32a0a
forcedeth: fix tx limit2 flag check

This is a fix for bug 572201 @ bugs.debian.org

This patch fixes the TX_LIMIT feature flag. The previous logic check
for TX_LIMIT2 also took into account a device that only had TX_LIMIT
set.

Reported-by: Stephen Mulcahu <stephen.mulcahy@deri.org>
Reported-by: Ben Huchings <ben@decadent.org.uk>
Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/forcedeth.c