aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda/wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/irda/wrapper.c')
-rw-r--r--net/irda/wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/wrapper.c b/net/irda/wrapper.c
index 5abfb71aae8d..2acc66dfb558 100644
--- a/net/irda/wrapper.c
+++ b/net/irda/wrapper.c
@@ -256,7 +256,7 @@ async_bump(struct net_device *dev,
256 256
257 /* Feed it to IrLAP layer */ 257 /* Feed it to IrLAP layer */
258 dataskb->dev = dev; 258 dataskb->dev = dev;
259 dataskb->mac.raw = dataskb->data; 259 skb_reset_mac_header(dataskb);
260 dataskb->protocol = htons(ETH_P_IRDA); 260 dataskb->protocol = htons(ETH_P_IRDA);
261 261
262 netif_rx(dataskb); 262 netif_rx(dataskb);