summaryrefslogtreecommitdiff
path: root/sys/dev/mwl
diff options
context:
space:
mode:
authorAndriy Voskoboinyk <avos@FreeBSD.org>2019-03-28 09:16:00 +0000
committerAndriy Voskoboinyk <avos@FreeBSD.org>2019-03-28 09:16:00 +0000
commited7073a725b8ac53dd8e87465c089aedd48fd948 (patch)
tree4c276fc34af3f156119173320b79ae6592a156ac /sys/dev/mwl
parent7bdd2121b89e849c54cb70d54f52a57bd5f654d7 (diff)
Notes
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r--sys/dev/mwl/if_mwlioctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mwl/if_mwlioctl.h b/sys/dev/mwl/if_mwlioctl.h
index 02aabbf10a37..b2ab4cdbcf3a 100644
--- a/sys/dev/mwl/if_mwlioctl.h
+++ b/sys/dev/mwl/if_mwlioctl.h
@@ -115,7 +115,7 @@ struct mwl_rx_radiotap_header {
int8_t wr_antsignal;
int8_t wr_antnoise;
u_int8_t wr_antenna;
-};
+} __packed __aligned(8);
#define MWL_TX_RADIOTAP_PRESENT ( \
(1 << IEEE80211_RADIOTAP_FLAGS) | \
@@ -133,6 +133,6 @@ struct mwl_tx_radiotap_header {
u_int16_t wt_chan_flags;
u_int8_t wt_txpower;
u_int8_t wt_antenna;
-};
+} __packed;
#endif /* _DEV_MWL_MVIOCTL_H */