patch-2.1.116 linux/net/econet/econet.c

Next file: linux/net/ipv4/arp.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.115/linux/net/econet/econet.c linux/net/econet/econet.c
@@ -34,6 +34,7 @@
 #include <linux/inet.h>
 #include <linux/etherdevice.h>
 #include <linux/if_arp.h>
+#include <linux/wireless.h>
 #include <linux/skbuff.h>
 #include <net/sock.h>
 #include <net/inet_common.h>
@@ -48,6 +49,8 @@
 static struct proto_ops econet_ops;
 static struct sock *econet_sklist;
 
+static spinlock_t aun_queue_lock;
+
 #ifdef CONFIG_ECONET_AUNUDP
 static struct socket *udpsock;
 #define AUN_PORT	0x8000
@@ -343,7 +346,7 @@
 		
 		eb->cookie = saddr->cookie;
 		eb->sec = *saddr;
-		eb->sent - ec_tx_done;
+		eb->sent = ec_tx_done;
 
 		if (dev->hard_header) {
 			int res;
@@ -965,7 +968,6 @@
  *	drop the packet.
  */
 
-static spinlock_t aun_queue_lock;
 
 static void ab_cleanup(unsigned long h)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov