]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: Fix alignment issues in libertas core
authorAndrey Yurovsky <andrey@cozybit.com>
Mon, 12 Jan 2009 21:14:27 +0000 (13:14 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Jan 2009 22:08:23 +0000 (17:08 -0500)
commite758a4a53e450a05629ea75a5fa49f9bfb92e10a
treece2af537a36d98c282114f2fc0e2059f074abf69
parent8382dd10d4623c21d0d107c7b7d227ab5365e704
libertas: Fix alignment issues in libertas core

Data structures that come over the wire from the WLAN firmware must be packed.
This fixes alignment problems on the blackfin architecture and, reportedly, on
the AVR32.

This is a replacement for the previous version of this patch which had also
explicitly used get_unaligned_ macros.  As Johannes Berg pointed out, these
macros were unnecessary.

Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
Signed-off-by: Colin McCabe <colin@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/hostcmd.h