diff mbox

[2/5] Staging: brcmfmac: Fix MAC header lookup on 64-bit architectures

Message ID 1289150437.2816.73.camel@localhost (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Ben Hutchings Nov. 7, 2010, 5:20 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
index e535787..4218f87 100644
--- a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
+++ b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
@@ -1190,7 +1190,7 @@  void dhd_rx_frame(dhd_pub_t *dhdp, int ifidx, void *pktbuf, int numpkt)
 		/* Process special event packets and then discard them */
 		if (ntoh16(skb->protocol) == ETHER_TYPE_BRCM)
 			dhd_wl_host_event(dhd, &ifidx,
-					  skb->mac_header,
+					  skb_mac_header(skb),
 					  &event, &data);
 
 		ASSERT(ifidx < DHD_MAX_IFS && dhd->iflist[ifidx]);