From: Rini van Zetten Date: Fri, 27 Feb 2009 11:18:48 +0000 (-0800) Subject: gianfar: Do right check on num_txbdfree X-Git-Tag: v2.6.29-rc7~13^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7958a45310519811134a5b911d863201786978ab;p=pandora-kernel.git 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 Acked-by: Andy Fleming Signed-off-by: David S. Miller --- Reading git-diff-tree failed