Skip to content
Commit 7958a453 authored by Rini van Zetten's avatar Rini van Zetten Committed by David S. Miller
Browse files

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: default avatarRini van Zetten <rini@arvoo.nl>
Acked-by: default avatarAndy Fleming <afleming@freescale.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1844f747
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment