summaryrefslogtreecommitdiff
path: root/drivers/staging/wlan-ng/p80211conv.h
diff options
context:
space:
mode:
authorMoritz Muehlenhoff <jmm@debian.org>2009-01-21 22:00:40 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:53:16 -0700
commit9cba46dc1c1c98d9e1c44be7b8d435ad553f799e (patch)
treedec26291547bbb55b4e29a6eddab8542bfd7cb91 /drivers/staging/wlan-ng/p80211conv.h
parent4bb5a7ec7635d1b1b66f853b9a9f9b717bc6b26d (diff)
Staging: wlan-ng: Remove use of __WLAN_ATTRIB_PACK__
Replace all ocurrances of the __WLAN_ATTRIB_PACK__ from wlan_compat.h by __attribute__((packed)) and remove it afterwards. Signed-off-by: Moritz Muehlenhoff <jmm@debian.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211conv.h')
-rw-r--r--drivers/staging/wlan-ng/p80211conv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wlan-ng/p80211conv.h b/drivers/staging/wlan-ng/p80211conv.h
index 538e9bd14902..d5e880679137 100644
--- a/drivers/staging/wlan-ng/p80211conv.h
+++ b/drivers/staging/wlan-ng/p80211conv.h
@@ -148,7 +148,7 @@ typedef struct wlan_ethhdr
u8 daddr[WLAN_ETHADDR_LEN];
u8 saddr[WLAN_ETHADDR_LEN];
u16 type;
-} __WLAN_ATTRIB_PACK__ wlan_ethhdr_t;
+} __attribute__((packed)) wlan_ethhdr_t;
/* local llc header type */
typedef struct wlan_llc
@@ -156,14 +156,14 @@ typedef struct wlan_llc
u8 dsap;
u8 ssap;
u8 ctl;
-} __WLAN_ATTRIB_PACK__ wlan_llc_t;
+} __attribute__((packed)) wlan_llc_t;
/* local snap header type */
typedef struct wlan_snap
{
u8 oui[WLAN_IEEE_OUI_LEN];
u16 type;
-} __WLAN_ATTRIB_PACK__ wlan_snap_t;
+} __attribute__((packed)) wlan_snap_t;
/* Circular include trick */
struct wlandevice;