diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-02 14:10:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-03 06:18:23 -0400 |
commit | ba2d3587912f82d1ab4367975b1df460db60fb1e (patch) | |
tree | 1e4e04caf23274bb4e39edbfc5713b4856326953 /drivers/net/wireless/hostap/hostap_common.h | |
parent | 1273d97674a1782ff55b823aa6c40aea9b538aaf (diff) |
drivers/net: use __packed annotation
cleanup patch.
Use new __packed annotation in drivers/net/
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_common.h')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_common.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/hostap/hostap_common.h b/drivers/net/wireless/hostap/hostap_common.h index 90b64b092007..4230102ac9e4 100644 --- a/drivers/net/wireless/hostap/hostap_common.h +++ b/drivers/net/wireless/hostap/hostap_common.h | |||
@@ -179,7 +179,7 @@ struct hfa384x_comp_ident | |||
179 | __le16 variant; | 179 | __le16 variant; |
180 | __le16 major; | 180 | __le16 major; |
181 | __le16 minor; | 181 | __le16 minor; |
182 | } __attribute__ ((packed)); | 182 | } __packed; |
183 | 183 | ||
184 | #define HFA384X_COMP_ID_PRI 0x15 | 184 | #define HFA384X_COMP_ID_PRI 0x15 |
185 | #define HFA384X_COMP_ID_STA 0x1f | 185 | #define HFA384X_COMP_ID_STA 0x1f |
@@ -192,14 +192,14 @@ struct hfa384x_sup_range | |||
192 | __le16 variant; | 192 | __le16 variant; |
193 | __le16 bottom; | 193 | __le16 bottom; |
194 | __le16 top; | 194 | __le16 top; |
195 | } __attribute__ ((packed)); | 195 | } __packed; |
196 | 196 | ||
197 | 197 | ||
198 | struct hfa384x_build_id | 198 | struct hfa384x_build_id |
199 | { | 199 | { |
200 | __le16 pri_seq; | 200 | __le16 pri_seq; |
201 | __le16 sec_seq; | 201 | __le16 sec_seq; |
202 | } __attribute__ ((packed)); | 202 | } __packed; |
203 | 203 | ||
204 | /* FD01 - Download Buffer */ | 204 | /* FD01 - Download Buffer */ |
205 | struct hfa384x_rid_download_buffer | 205 | struct hfa384x_rid_download_buffer |
@@ -207,14 +207,14 @@ struct hfa384x_rid_download_buffer | |||
207 | __le16 page; | 207 | __le16 page; |
208 | __le16 offset; | 208 | __le16 offset; |
209 | __le16 length; | 209 | __le16 length; |
210 | } __attribute__ ((packed)); | 210 | } __packed; |
211 | 211 | ||
212 | /* BSS connection quality (RID FD43 range, RID FD51 dBm-normalized) */ | 212 | /* BSS connection quality (RID FD43 range, RID FD51 dBm-normalized) */ |
213 | struct hfa384x_comms_quality { | 213 | struct hfa384x_comms_quality { |
214 | __le16 comm_qual; /* 0 .. 92 */ | 214 | __le16 comm_qual; /* 0 .. 92 */ |
215 | __le16 signal_level; /* 27 .. 154 */ | 215 | __le16 signal_level; /* 27 .. 154 */ |
216 | __le16 noise_level; /* 27 .. 154 */ | 216 | __le16 noise_level; /* 27 .. 154 */ |
217 | } __attribute__ ((packed)); | 217 | } __packed; |
218 | 218 | ||
219 | 219 | ||
220 | /* netdevice private ioctls (used, e.g., with iwpriv from user space) */ | 220 | /* netdevice private ioctls (used, e.g., with iwpriv from user space) */ |