diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2010-08-17 15:46:52 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-24 16:32:03 -0400 |
commit | 8d5ad08525f1a8e0484d125ba155dbd3c3282ab8 (patch) | |
tree | 8ef401f2fd9953b131dc676979141e7de0a63f79 /drivers/net/wireless/wl12xx/wl1251_acx.h | |
parent | 110ff6db6f6fbb946c099f49f666b59258746048 (diff) |
wl1251: add missing __packed modifier for some structs
Several acx and cmd structures are missing __packed modifier, add it.
This was noticed while comparing them with corresponding wl1271 code.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_acx.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_acx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_acx.h b/drivers/net/wireless/wl12xx/wl1251_acx.h index 842df310d92a..9864124d9e1b 100644 --- a/drivers/net/wireless/wl12xx/wl1251_acx.h +++ b/drivers/net/wireless/wl12xx/wl1251_acx.h | |||
@@ -37,7 +37,7 @@ struct acx_header { | |||
37 | 37 | ||
38 | /* payload length (not including headers */ | 38 | /* payload length (not including headers */ |
39 | u16 len; | 39 | u16 len; |
40 | }; | 40 | } __packed; |
41 | 41 | ||
42 | struct acx_error_counter { | 42 | struct acx_error_counter { |
43 | struct acx_header header; | 43 | struct acx_header header; |
@@ -471,7 +471,7 @@ struct acx_conn_monit_params { | |||
471 | 471 | ||
472 | u32 synch_fail_thold; /* number of beacons missed */ | 472 | u32 synch_fail_thold; /* number of beacons missed */ |
473 | u32 bss_lose_timeout; /* number of TU's from synch fail */ | 473 | u32 bss_lose_timeout; /* number of TU's from synch fail */ |
474 | }; | 474 | } __packed; |
475 | 475 | ||
476 | enum { | 476 | enum { |
477 | SG_ENABLE = 0, | 477 | SG_ENABLE = 0, |
@@ -1056,7 +1056,7 @@ struct acx_rate_class { | |||
1056 | u8 long_retry_limit; | 1056 | u8 long_retry_limit; |
1057 | u8 aflags; | 1057 | u8 aflags; |
1058 | u8 reserved; | 1058 | u8 reserved; |
1059 | }; | 1059 | } __packed; |
1060 | 1060 | ||
1061 | struct acx_rate_policy { | 1061 | struct acx_rate_policy { |
1062 | struct acx_header header; | 1062 | struct acx_header header; |