patch-1.3.4 linux/drivers/net/eql.c

Next file: linux/drivers/net/ne.c
Previous file: linux/drivers/net/eepro.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.3/linux/drivers/net/eql.c linux/drivers/net/eql.c
@@ -958,7 +958,7 @@
 
 	      if ( slave->dev != 0)
 		{
-		  if ( slave->dev->flags & IFF_UP == IFF_UP )
+		  if ((slave->dev->flags & IFF_UP) == IFF_UP )
 		    {
 		      slave_load = (ULONG_MAX - (ULONG_MAX / 2)) - 
 			(priority_Bps) + bytes_queued * 8;
@@ -1105,7 +1105,7 @@
 	{
 	  if (slave != 0)
 	    {
-	      if ( slave->dev->flags & IFF_UP == IFF_UP )
+	      if ((slave->dev->flags & IFF_UP) == IFF_UP )
 		{
 		  slave->bytes_queued -= slave->priority_Bps;
 	      

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this