From: Bob Dunlop <rdunlop@xxxxxxxxxx> 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: R.J.Dunlop <rdunlop@xxxxxxxxxx> Acked-by: Dan Williams <dcbw@xxxxxxxxxx> --- diff -u linux-2.6.31-rc2/drivers/net/wireless/libertas/hostcmd.h{-orig,} --- linux-2.6.31-rc2/drivers/net/wireless/libertas/hostcmd.h-orig 2009-07-04 18:58:48.000000000 +0100 +++ linux-2.6.31-rc2/drivers/net/wireless/libertas/hostcmd.h 2009-07-13 08:27:45.000000000 +0100 @@ -56,8 +56,8 @@ u8 bss_type; /* BSS number */ u8 bss_num; - } bss; - } u; + } __attribute__ ((packed)) bss; + } __attribute__ ((packed)) u; /* SNR */ u8 snr; -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html