From: Solomon Peachy Date: Sat, 20 Jul 2013 04:02:25 +0000 (-0400) Subject: cw1200: Fix incorrect endianness annotation in a header field X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f291f7deeeef84bd113ff3c309862a888e8f181b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git cw1200: Fix incorrect endianness annotation in a header field Note that the driver doesn't directly use this field, but it should be correctly defined in any case. Signed-off-by: Solomon Peachy Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/cw1200/wsm.h b/drivers/net/wireless/cw1200/wsm.h index 7afc613c3706..48086e849515 100644 --- a/drivers/net/wireless/cw1200/wsm.h +++ b/drivers/net/wireless/cw1200/wsm.h @@ -832,7 +832,7 @@ struct wsm_tx { /* the MSDU shall be terminated. Overrides the global */ /* dot11MaxTransmitMsduLifeTime setting [optional] */ /* Device will set the default value if this is 0. */ - u32 expire_time; + __le32 expire_time; /* WSM_HT_TX_... */ __le32 ht_tx_parameters;