diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-07-14 10:37:03 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-14 13:52:46 -0400 |
commit | beabe91462919efaf4a97b5001d564027a894728 (patch) | |
tree | f00fa902b95b3f913a903f34dd7520a8c4386e54 /drivers/net/wireless/libertas | |
parent | b3f194e54bdbaa4d508488cab24d23c376e235a2 (diff) |
libertas: convert new uses of __attribute__ ((packed)) to __packed
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/cfg.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/host.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/cfg.c b/drivers/net/wireless/libertas/cfg.c index f36cc970ad1b..7e0741608856 100644 --- a/drivers/net/wireless/libertas/cfg.c +++ b/drivers/net/wireless/libertas/cfg.c | |||
@@ -891,7 +891,7 @@ struct cmd_key_material { | |||
891 | 891 | ||
892 | __le16 action; | 892 | __le16 action; |
893 | struct MrvlIEtype_keyParamSet param; | 893 | struct MrvlIEtype_keyParamSet param; |
894 | } __attribute__ ((packed)); | 894 | } __packed; |
895 | 895 | ||
896 | static int lbs_set_key_material(struct lbs_private *priv, | 896 | static int lbs_set_key_material(struct lbs_private *priv, |
897 | int key_type, | 897 | int key_type, |
@@ -1395,7 +1395,7 @@ struct cmd_monitor_mode { | |||
1395 | 1395 | ||
1396 | __le16 action; | 1396 | __le16 action; |
1397 | __le16 mode; | 1397 | __le16 mode; |
1398 | } __attribute__ ((packed)); | 1398 | } __packed; |
1399 | 1399 | ||
1400 | static int lbs_enable_monitor_mode(struct lbs_private *priv, int mode) | 1400 | static int lbs_enable_monitor_mode(struct lbs_private *priv, int mode) |
1401 | { | 1401 | { |
@@ -1450,7 +1450,7 @@ struct cmd_rssi { | |||
1450 | __le16 nf; | 1450 | __le16 nf; |
1451 | __le16 avg_snr; | 1451 | __le16 avg_snr; |
1452 | __le16 avg_nf; | 1452 | __le16 avg_nf; |
1453 | } __attribute__ ((packed)); | 1453 | } __packed; |
1454 | 1454 | ||
1455 | static int lbs_get_signal(struct lbs_private *priv, s8 *signal, s8 *noise) | 1455 | static int lbs_get_signal(struct lbs_private *priv, s8 *signal, s8 *noise) |
1456 | { | 1456 | { |
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h index 112fbf167dc8..d70355cff908 100644 --- a/drivers/net/wireless/libertas/host.h +++ b/drivers/net/wireless/libertas/host.h | |||
@@ -398,12 +398,12 @@ struct mrvl_ie_domain_param_set { | |||
398 | 398 | ||
399 | u8 countrycode[COUNTRY_CODE_LEN]; | 399 | u8 countrycode[COUNTRY_CODE_LEN]; |
400 | struct ieee80211_country_ie_triplet triplet[1]; | 400 | struct ieee80211_country_ie_triplet triplet[1]; |
401 | } __attribute__ ((packed)); | 401 | } __packed; |
402 | 402 | ||
403 | struct cmd_ds_802_11d_domain_info { | 403 | struct cmd_ds_802_11d_domain_info { |
404 | __le16 action; | 404 | __le16 action; |
405 | struct mrvl_ie_domain_param_set domain; | 405 | struct mrvl_ie_domain_param_set domain; |
406 | } __attribute__ ((packed)); | 406 | } __packed; |
407 | 407 | ||
408 | struct lbs_802_11d_domain_reg { | 408 | struct lbs_802_11d_domain_reg { |
409 | /** Country code*/ | 409 | /** Country code*/ |
@@ -411,7 +411,7 @@ struct lbs_802_11d_domain_reg { | |||
411 | /** No. of triplet*/ | 411 | /** No. of triplet*/ |
412 | u8 no_triplet; | 412 | u8 no_triplet; |
413 | struct ieee80211_country_ie_triplet triplet[MRVDRV_MAX_TRIPLET_802_11D]; | 413 | struct ieee80211_country_ie_triplet triplet[MRVDRV_MAX_TRIPLET_802_11D]; |
414 | } __attribute__ ((packed)); | 414 | } __packed; |
415 | 415 | ||
416 | /* | 416 | /* |
417 | * Define data structure for CMD_GET_HW_SPEC | 417 | * Define data structure for CMD_GET_HW_SPEC |