Commit beabe914 authored by John W. Linville's avatar John W. Linville

libertas: convert new uses of __attribute__ ((packed)) to __packed

Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b3f194e5
...@@ -891,7 +891,7 @@ struct cmd_key_material { ...@@ -891,7 +891,7 @@ struct cmd_key_material {
__le16 action; __le16 action;
struct MrvlIEtype_keyParamSet param; struct MrvlIEtype_keyParamSet param;
} __attribute__ ((packed)); } __packed;
static int lbs_set_key_material(struct lbs_private *priv, static int lbs_set_key_material(struct lbs_private *priv,
int key_type, int key_type,
...@@ -1395,7 +1395,7 @@ struct cmd_monitor_mode { ...@@ -1395,7 +1395,7 @@ struct cmd_monitor_mode {
__le16 action; __le16 action;
__le16 mode; __le16 mode;
} __attribute__ ((packed)); } __packed;
static int lbs_enable_monitor_mode(struct lbs_private *priv, int mode) static int lbs_enable_monitor_mode(struct lbs_private *priv, int mode)
{ {
...@@ -1450,7 +1450,7 @@ struct cmd_rssi { ...@@ -1450,7 +1450,7 @@ struct cmd_rssi {
__le16 nf; __le16 nf;
__le16 avg_snr; __le16 avg_snr;
__le16 avg_nf; __le16 avg_nf;
} __attribute__ ((packed)); } __packed;
static int lbs_get_signal(struct lbs_private *priv, s8 *signal, s8 *noise) static int lbs_get_signal(struct lbs_private *priv, s8 *signal, s8 *noise)
{ {
......
...@@ -398,12 +398,12 @@ struct mrvl_ie_domain_param_set { ...@@ -398,12 +398,12 @@ struct mrvl_ie_domain_param_set {
u8 countrycode[COUNTRY_CODE_LEN]; u8 countrycode[COUNTRY_CODE_LEN];
struct ieee80211_country_ie_triplet triplet[1]; struct ieee80211_country_ie_triplet triplet[1];
} __attribute__ ((packed)); } __packed;
struct cmd_ds_802_11d_domain_info { struct cmd_ds_802_11d_domain_info {
__le16 action; __le16 action;
struct mrvl_ie_domain_param_set domain; struct mrvl_ie_domain_param_set domain;
} __attribute__ ((packed)); } __packed;
struct lbs_802_11d_domain_reg { struct lbs_802_11d_domain_reg {
/** Country code*/ /** Country code*/
...@@ -411,7 +411,7 @@ struct lbs_802_11d_domain_reg { ...@@ -411,7 +411,7 @@ struct lbs_802_11d_domain_reg {
/** No. of triplet*/ /** No. of triplet*/
u8 no_triplet; u8 no_triplet;
struct ieee80211_country_ie_triplet triplet[MRVDRV_MAX_TRIPLET_802_11D]; struct ieee80211_country_ie_triplet triplet[MRVDRV_MAX_TRIPLET_802_11D];
} __attribute__ ((packed)); } __packed;
/* /*
* Define data structure for CMD_GET_HW_SPEC * Define data structure for CMD_GET_HW_SPEC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment