]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gianfar: Do right check on num_txbdfree
authorRini van Zetten <rini@arvoo.nl>
Fri, 27 Feb 2009 11:18:48 +0000 (03:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2009 11:18:48 +0000 (03:18 -0800)
commit7958a45310519811134a5b911d863201786978ab
treed2f95d6c105e112429316289a8e30d1821e00e87
parent1844f747947bb89d7f12cd3034548805113f764b
gianfar: Do right check on num_txbdfree

This patch fixes a wrong check on num_txbdfree. It could lead to
num_txbdfree become nagative.  Result was that the gianfar stops
sending data.

Changes from first version :
- removed a space between parens (David Millers comment)
- full email address in signed off line

Signed-off-by: Rini van Zetten <rini@arvoo.nl>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c