summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1251_acx.h
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2010-08-17 22:46:52 +0300
committerJohn W. Linville <linville@tuxdriver.com>2010-08-24 16:32:03 -0400
commit8d5ad08525f1a8e0484d125ba155dbd3c3282ab8 (patch)
tree8ef401f2fd9953b131dc676979141e7de0a63f79 /drivers/net/wireless/wl12xx/wl1251_acx.h
parent110ff6db6f6fbb946c099f49f666b59258746048 (diff)
downloadtalos-op-linux-8d5ad08525f1a8e0484d125ba155dbd3c3282ab8.tar.gz
talos-op-linux-8d5ad08525f1a8e0484d125ba155dbd3c3282ab8.zip
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.h6
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 {
/* payload length (not including headers */
u16 len;
-};
+} __packed;
struct acx_error_counter {
struct acx_header header;
@@ -471,7 +471,7 @@ struct acx_conn_monit_params {
u32 synch_fail_thold; /* number of beacons missed */
u32 bss_lose_timeout; /* number of TU's from synch fail */
-};
+} __packed;
enum {
SG_ENABLE = 0,
@@ -1056,7 +1056,7 @@ struct acx_rate_class {
u8 long_retry_limit;
u8 aflags;
u8 reserved;
-};
+} __packed;
struct acx_rate_policy {
struct acx_header header;
OpenPOWER on IntegriCloud