diff options
author | Luciano Coelho <luciano.coelho@nokia.com> | 2009-10-15 03:33:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:20 -0400 |
commit | fb46f26f383c3129ce4ae551a359a8e11704cbce (patch) | |
tree | cf6ce35a0d919977be2b899b6514552b99b9fd98 /drivers/net/wireless/wl12xx | |
parent | d0f63b202146f3281800ee44823740c8bbf38f11 (diff) |
wl1271: added missing packed modifier in some cmd structs
Some of the struct definitions in the wl1271_acx.h file were missing the
__attribute__ ((packed)) modifier.
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_cmd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.h b/drivers/net/wireless/wl12xx/wl1271_cmd.h index 57d69057b4fa..174b8209dbf3 100644 --- a/drivers/net/wireless/wl12xx/wl1271_cmd.h +++ b/drivers/net/wireless/wl12xx/wl1271_cmd.h | |||
@@ -184,7 +184,7 @@ struct cmd_read_write_memory { | |||
184 | of this field is the Host in WRITE command or the Wilink in READ | 184 | of this field is the Host in WRITE command or the Wilink in READ |
185 | command. */ | 185 | command. */ |
186 | u8 value[MAX_READ_SIZE]; | 186 | u8 value[MAX_READ_SIZE]; |
187 | }; | 187 | } __attribute__ ((packed)); |
188 | 188 | ||
189 | #define CMDMBOX_HEADER_LEN 4 | 189 | #define CMDMBOX_HEADER_LEN 4 |
190 | #define CMDMBOX_INFO_ELEM_HEADER_LEN 4 | 190 | #define CMDMBOX_INFO_ELEM_HEADER_LEN 4 |
@@ -399,12 +399,12 @@ struct wl1271_cmd_trigger_scan_to { | |||
399 | struct wl1271_cmd_header header; | 399 | struct wl1271_cmd_header header; |
400 | 400 | ||
401 | __le32 timeout; | 401 | __le32 timeout; |
402 | }; | 402 | } __attribute__ ((packed)); |
403 | 403 | ||
404 | struct wl1271_cmd_test_header { | 404 | struct wl1271_cmd_test_header { |
405 | u8 id; | 405 | u8 id; |
406 | u8 padding[3]; | 406 | u8 padding[3]; |
407 | }; | 407 | } __attribute__ ((packed)); |
408 | 408 | ||
409 | enum wl1271_channel_tune_bands { | 409 | enum wl1271_channel_tune_bands { |
410 | WL1271_CHANNEL_TUNE_BAND_2_4, | 410 | WL1271_CHANNEL_TUNE_BAND_2_4, |