projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69ec303
)
Staging: brcmfmac: Fix MAC header lookup on 64-bit architectures
author
Ben Hutchings
<ben@decadent.org.uk>
Sun, 7 Nov 2010 17:20:37 +0000
(17:20 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 9 Nov 2010 23:43:17 +0000
(15:43 -0800)
Fix direct use of sk_buff::mac_header which is an offset rather
than a pointer on 64-bit architectures.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/dhd_linux.c
patch
|
blob
|
history
diff --git
a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
index
794dc13
..
d7ad3e4
100644
(file)
--- a/
drivers/staging/brcm80211/brcmfmac/dhd_linux.c
+++ b/
drivers/staging/brcm80211/brcmfmac/dhd_linux.c
@@
-1189,7
+1189,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]);