aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-06-03 06:21:52 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-03 06:21:52 -0400
commitbc10502dba37d3b210efd9f3867212298f13b78e (patch)
treeaf4542eaab79cd509244578f839167f16f3ab02d /net/mac80211/rx.c
parentba2d3587912f82d1ab4367975b1df460db60fb1e (diff)
net: use __packed annotation
cleanup patch. Use new __packed annotation in net/ and include/ (except netfilter) Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 6e2a7bcd8cb8..2d9a2ee94e17 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2139,7 +2139,7 @@ static void ieee80211_rx_cooked_monitor(struct ieee80211_rx_data *rx,
2139 u8 rate_or_pad; 2139 u8 rate_or_pad;
2140 __le16 chan_freq; 2140 __le16 chan_freq;
2141 __le16 chan_flags; 2141 __le16 chan_flags;
2142 } __attribute__ ((packed)) *rthdr; 2142 } __packed *rthdr;
2143 struct sk_buff *skb = rx->skb, *skb2; 2143 struct sk_buff *skb = rx->skb, *skb2;
2144 struct net_device *prev_dev = NULL; 2144 struct net_device *prev_dev = NULL;
2145 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); 2145 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);