patch-2.3.1 linux/drivers/net/sktr.c

Next file: linux/drivers/net/sktr.h
Previous file: linux/drivers/net/shaper.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/net/sktr.c linux/drivers/net/sktr.c
@@ -414,7 +414,8 @@
 	if(tp == NULL)
 		return (-ENOMEM);
 	memset(tp, 0, sizeof(struct net_local));
-
+	init_waitqueue_head(&tp->wait_for_tok_int);
+	
 	dev->priv		= tp;
 	dev->init               = sktr_init_card;
         dev->open               = sktr_open;

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