patch-2.3.49 linux/drivers/net/wavelan.c

Next file: linux/drivers/net/yellowfin.c
Previous file: linux/drivers/net/wan/sdla_ppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/drivers/net/wavelan.c linux/drivers/net/wavelan.c
@@ -3726,7 +3726,7 @@
 	}
 
 	/* Release spinlock here so that wv_hw_reset() can grab it */
-	spin_unlock (&lp->lock);
+	spin_unlock (&lp->spinlock);
 
 	/* Check the state of the command unit. */
 	if (((status & SCB_ST_CNA) == SCB_ST_CNA) ||
@@ -4006,7 +4006,7 @@
 	lp->mc_count = 0;
 
 	/* Init spinlock */
-	spin_lock_init(&lp->lock);
+	spin_lock_init(&lp->spinlock);
 
 	/*
 	 * Fill in the fields of the device structure

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)