Skip to content

Commit

Permalink
wl1271: added missing packed modifier in some acx structs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luciano Coelho authored and John W. Linville committed Oct 27, 2009
1 parent 938e30c commit 0b5b72d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/net/wireless/wl12xx/wl1271_acx.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ struct acx_header {

/* payload length (not including headers */
u16 len;
};
} __attribute__ ((packed));

struct acx_error_counter {
struct acx_header header;
Expand Down Expand Up @@ -390,7 +390,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 */
};
} __attribute__ ((packed));

enum {
SG_ENABLE = 0,
Expand Down Expand Up @@ -420,19 +420,19 @@ struct acx_smart_reflex_state {

u8 enable;
u8 padding[3];
};
} __attribute__ ((packed));

struct smart_reflex_err_table {
u8 len;
s8 upper_limit;
s8 values[14];
};
} __attribute__ ((packed));

struct acx_smart_reflex_config_params {
struct acx_header header;

struct smart_reflex_err_table error_table[3];
};
} __attribute__ ((packed));

#define PTA_ANTENNA_TYPE_DEF (0)
#define PTA_BT_HP_MAXTIME_DEF (2000)
Expand Down

0 comments on commit 0b5b72d

Please sign in to comment.