irda: fix incomplete conversation to internal stats

Fix for commit af0490810c (irda: convert to internal stats)

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Alexander Beregalov
2009-01-08 16:42:08 -08:00
committed by David S. Miller
parent c59765042f
commit 216c32d440
2 changed files with 5 additions and 5 deletions

View 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);