]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/irda/au1k_ir.c
netxen: hold tx lock while sending firmware commands
[linux-2.6-omap-h63xx.git] / drivers / net / irda / au1k_ir.c
index 75a1d0a86dee72477906eac53b22dae128ab553f..941164076a2b1f675b68b492be4c206549308841 100644 (file)
@@ -594,7 +594,7 @@ static int au1k_irda_rx(struct net_device *dev)
                        update_rx_stats(dev, flags, count);
                        skb=alloc_skb(count+1,GFP_ATOMIC);
                        if (skb == NULL) {
-                               aup->stats.rx_dropped++;
+                               aup->netdev->stats.rx_dropped++;
                                continue;
                        }
                        skb_reserve(skb, 1);