Browse Source

Merge of /spare/repo/netdev-2.6 branch misc-fixes

20 years ago
parent
commit
a83d5cf7a1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/net/tulip/media.c

+ 1 - 0
drivers/net/tulip/media.c

@@ -174,6 +174,7 @@ void tulip_mdio_write(struct net_device *dev, int phy_id, int location, int val)
 				break;
 		}
 		spin_unlock_irqrestore(&tp->mii_lock, flags);
+		return;
 	}
 		
 	/* Establish sync by sending 32 logic ones. */