From: Christian Lamparter Date: Sat, 23 Oct 2010 16:44:33 +0000 (+0200) Subject: carl9170 firmware: fix ar9170_stream struct X-Git-Tag: 1.9.1~4 X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=bc34256feba138ce10f3f8ad320b84816a5c5926 carl9170 firmware: fix ar9170_stream struct Signed-off-by: Christian Lamparter --- diff --git a/include/shared/hw.h b/include/shared/hw.h index 2f471b3..c59e5af 100644 --- a/include/shared/hw.h +++ b/include/shared/hw.h @@ -712,7 +712,8 @@ struct ar9170_stream { __le16 tag; u8 payload[0]; -}; +} __packed __aligned(4); +#define AR9170_STREAM_LEN 4 #define AR9170_MAX_ACKTABLE_ENTRIES 8 #define AR9170_MAX_VIRTUAL_MAC 7