Commit dd1f57ec authored by Bob Dunlop's avatar Bob Dunlop Committed by John W. Linville

libertas: correct packing of rxpd structure

Older Gcc compilers (3.4.5 tested) need additional hints in order to get
the packing of the rxpd structure (which contains a 16 bit union)
correct on the ARM processor.

struct txpd does not need these hints since it contains a 32 bit union
that packs naturally.
Signed-off-by: default avatarR.J.Dunlop <rdunlop@guralp.com>
Acked-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 60aa569f
...@@ -56,8 +56,8 @@ struct rxpd { ...@@ -56,8 +56,8 @@ struct rxpd {
u8 bss_type; u8 bss_type;
/* BSS number */ /* BSS number */
u8 bss_num; u8 bss_num;
} bss; } __attribute__ ((packed)) bss;
} u; } __attribute__ ((packed)) u;
/* SNR */ /* SNR */
u8 snr; u8 snr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment