summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/au1k_ir.c
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-01-08 16:42:08 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-11 00:01:31 -0800
commit216c32d4407ea6951d6832773fdb3de058e12c62 (patch)
treebaffe207bb71b509a536a7d5216545192b3cbbe1 /drivers/net/irda/au1k_ir.c
parentc59765042f53a79a7a65585042ff463b69cb248c (diff)
downloadblackbird-op-linux-216c32d4407ea6951d6832773fdb3de058e12c62.tar.gz
blackbird-op-linux-216c32d4407ea6951d6832773fdb3de058e12c62.zip
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>
Diffstat (limited to 'drivers/net/irda/au1k_ir.c')
-rw-r--r--drivers/net/irda/au1k_ir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/au1k_ir.c b/drivers/net/irda/au1k_ir.c
index 75a1d0a86dee..941164076a2b 100644
--- a/drivers/net/irda/au1k_ir.c
+++ b/drivers/net/irda/au1k_ir.c
@@ -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);
OpenPOWER on IntegriCloud