patch-2.4.2 linux/drivers/net/aironet4500_core.c

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

diff -u --recursive --new-file v2.4.1/linux/drivers/net/aironet4500_core.c linux/drivers/net/aironet4500_core.c
@@ -1526,9 +1526,10 @@
 	rx_buff->skb = NULL;
 	rx_buff->u.rx.payload = NULL;
 	priv->stats.rx_packets++;
-	priv->stats.rx_bytes++;
+	priv->stats.rx_bytes += skb->len;
 	
 	netif_rx(skb);
+	dev->last_rx = jiffies;
 	AWC_ENTRY_EXIT_DEBUG("exit\n");
 	return ;
 
@@ -3025,7 +3026,7 @@
 	}
 	restore_flags(flags);
 	dev->trans_start = jiffies;
-	netif_start_queue (dev);
+	netif_wake_queue (dev);
 }
 
 

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