aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/smsc-ircc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/smsc-ircc2.c')
-rw-r--r--drivers/net/irda/smsc-ircc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/smsc-ircc2.c b/drivers/net/irda/smsc-ircc2.c
index 31c623381ea8..103a2d18ed2f 100644
--- a/drivers/net/irda/smsc-ircc2.c
+++ b/drivers/net/irda/smsc-ircc2.c
@@ -1412,7 +1412,7 @@ static void smsc_ircc_dma_receive_complete(struct smsc_ircc_cb *self)
1412 self->stats.rx_bytes += len; 1412 self->stats.rx_bytes += len;
1413 1413
1414 skb->dev = self->netdev; 1414 skb->dev = self->netdev;
1415 skb->mac.raw = skb->data; 1415 skb_reset_mac_header(skb);
1416 skb->protocol = htons(ETH_P_IRDA); 1416 skb->protocol = htons(ETH_P_IRDA);
1417 netif_rx(skb); 1417 netif_rx(skb);
1418} 1418}