diff options
Diffstat (limited to 'drivers/net/irda/w83977af_ir.c')
-rw-r--r-- | drivers/net/irda/w83977af_ir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c index 4212657fa4f9..bee445130952 100644 --- a/drivers/net/irda/w83977af_ir.c +++ b/drivers/net/irda/w83977af_ir.c | |||
@@ -919,7 +919,7 @@ int w83977af_dma_receive_complete(struct w83977af_ir *self) | |||
919 | self->stats.rx_packets++; | 919 | self->stats.rx_packets++; |
920 | 920 | ||
921 | skb->dev = self->netdev; | 921 | skb->dev = self->netdev; |
922 | skb->mac.raw = skb->data; | 922 | skb_reset_mac_header(skb); |
923 | skb->protocol = htons(ETH_P_IRDA); | 923 | skb->protocol = htons(ETH_P_IRDA); |
924 | netif_rx(skb); | 924 | netif_rx(skb); |
925 | self->netdev->last_rx = jiffies; | 925 | self->netdev->last_rx = jiffies; |