aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/ali-ircc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/ali-ircc.c')
-rw-r--r--drivers/net/irda/ali-ircc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/ali-ircc.c b/drivers/net/irda/ali-ircc.c
index cebf8c374bc5..0f10758226fa 100644
--- a/drivers/net/irda/ali-ircc.c
+++ b/drivers/net/irda/ali-ircc.c
@@ -1932,7 +1932,7 @@ static int ali_ircc_dma_receive_complete(struct ali_ircc_cb *self)
1932 self->stats.rx_packets++; 1932 self->stats.rx_packets++;
1933 1933
1934 skb->dev = self->netdev; 1934 skb->dev = self->netdev;
1935 skb->mac.raw = skb->data; 1935 skb_reset_mac_header(skb);
1936 skb->protocol = htons(ETH_P_IRDA); 1936 skb->protocol = htons(ETH_P_IRDA);
1937 netif_rx(skb); 1937 netif_rx(skb);
1938 self->netdev->last_rx = jiffies; 1938 self->netdev->last_rx = jiffies;