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:

committed by
David S. Miller

parent
c59765042f
commit
216c32d440
@@ -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);
|
||||
|
Reference in New Issue
Block a user