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)
commitd71038c05970ad0c9d7da6f797803f69e4f91837
treece2af537a36d98c282114f2fc0e2059f074abf69
parentb6b50a21625bbf59a89b807dd0fc1eb5412aeff3
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