carl9170 firmware: fix ar9170_stream struct
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 23 Oct 2010 16:44:33 +0000 (18:44 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Sat, 23 Oct 2010 16:44:33 +0000 (18:44 +0200)
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/shared/hw.h

index 2f471b3f05afdec737ab6e1d293ac40bb7c0db5c..c59e5af511d01554123f4a2b9f6a56f96f0108fc 100644 (file)
@@ -712,7 +712,8 @@ struct ar9170_stream {
        __le16 tag;
 
        u8 payload[0];
        __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
 
 #define AR9170_MAX_ACKTABLE_ENTRIES                    8
 #define AR9170_MAX_VIRTUAL_MAC                         7