diff options
author | Luciano Coelho <luciano.coelho@nokia.com> | 2009-10-15 03:33:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:19 -0400 |
commit | 0b5b72da1b21fe61926318dd842f6dd7c8862e9f (patch) | |
tree | 3af8738228142cf11c8d2031532e77c6a66a8649 /drivers | |
parent | 938e30c9301fbd7c3677d01ad01c7eb4ad78b998 (diff) |
wl1271: added missing packed modifier in some acx 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')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_acx.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_acx.h b/drivers/net/wireless/wl12xx/wl1271_acx.h index 15803146d50..5085497d133 100644 --- a/drivers/net/wireless/wl12xx/wl1271_acx.h +++ b/drivers/net/wireless/wl12xx/wl1271_acx.h | |||
@@ -75,7 +75,7 @@ struct acx_header { | |||
75 | 75 | ||
76 | /* payload length (not including headers */ | 76 | /* payload length (not including headers */ |
77 | u16 len; | 77 | u16 len; |
78 | }; | 78 | } __attribute__ ((packed)); |
79 | 79 | ||
80 | struct acx_error_counter { | 80 | struct acx_error_counter { |
81 | struct acx_header header; | 81 | struct acx_header header; |
@@ -390,7 +390,7 @@ struct acx_conn_monit_params { | |||
390 | 390 | ||
391 | u32 synch_fail_thold; /* number of beacons missed */ | 391 | u32 synch_fail_thold; /* number of beacons missed */ |
392 | u32 bss_lose_timeout; /* number of TU's from synch fail */ | 392 | u32 bss_lose_timeout; /* number of TU's from synch fail */ |
393 | }; | 393 | } __attribute__ ((packed)); |
394 | 394 | ||
395 | enum { | 395 | enum { |
396 | SG_ENABLE = 0, | 396 | SG_ENABLE = 0, |
@@ -420,19 +420,19 @@ struct acx_smart_reflex_state { | |||
420 | 420 | ||
421 | u8 enable; | 421 | u8 enable; |
422 | u8 padding[3]; | 422 | u8 padding[3]; |
423 | }; | 423 | } __attribute__ ((packed)); |
424 | 424 | ||
425 | struct smart_reflex_err_table { | 425 | struct smart_reflex_err_table { |
426 | u8 len; | 426 | u8 len; |
427 | s8 upper_limit; | 427 | s8 upper_limit; |
428 | s8 values[14]; | 428 | s8 values[14]; |
429 | }; | 429 | } __attribute__ ((packed)); |
430 | 430 | ||
431 | struct acx_smart_reflex_config_params { | 431 | struct acx_smart_reflex_config_params { |
432 | struct acx_header header; | 432 | struct acx_header header; |
433 | 433 | ||
434 | struct smart_reflex_err_table error_table[3]; | 434 | struct smart_reflex_err_table error_table[3]; |
435 | }; | 435 | } __attribute__ ((packed)); |
436 | 436 | ||
437 | #define PTA_ANTENNA_TYPE_DEF (0) | 437 | #define PTA_ANTENNA_TYPE_DEF (0) |
438 | #define PTA_BT_HP_MAXTIME_DEF (2000) | 438 | #define PTA_BT_HP_MAXTIME_DEF (2000) |