]> git.baikalelectronics.ru Git - kernel.git/commit
b43: Fix possible unaligned u32 access
authorMatthieu CASTET <castet.matthieu@free.fr>
Thu, 4 Jun 2009 21:18:33 +0000 (23:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Jun 2009 17:27:53 +0000 (13:27 -0400)
commit67c62d06915d9be48f4030ade33b9766373b7d0d
tree57275be394a4031015d7978b3cc11dfd87d4ae9b
parente796e821dc7a6df83602976602deaf87a1cd8775
b43: Fix possible unaligned u32 access

Fix possible unaligned u32 access in b43_generate_plcp_hdr().
Unaligned data is read/write with a u32 pointer instead of using the
packed structure. Some versions of gcc ignore the "packed" attribute, if the
structure element is accessed through a local pointer.

Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/xmit.c