brcmfmac: fix use of skb control buffer in SDIO driver part
authorArend van Spriel <arend@broadcom.com>
Tue, 25 Feb 2014 19:30:27 +0000 (20:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:33:18 +0000 (14:33 -0500)
commit5aa9f0ea18f3d5ec329a619b0bc54e214e02bc33
tree10c54fd91f6e92d6a0c9c3a8e60126aaef66aace
parent68ca395f94e932a2d9a775f2c103c5bce257e795
brcmfmac: fix use of skb control buffer in SDIO driver part

The SDIO driver has a 16-bit field defined in the skbuff control buffer.
However, it is accessed as a u32 overwriting other control info. Another
issue is that the field is not initialized for networking packets, but
the control buffer content is unspecified as other networking layers can
use it.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c