summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2005-03-01 19:30:43 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2005-03-01 19:30:43 +0000
commitd6d2cfd1949bcdd11d2835821c14ff82eea463fa (patch)
tree06818175230c73b3cb9df45d6ff17cd8dd8533b5 /sys/dev/ic
parentb21c43ee2891c533e7fc0b352c2adb16c12f2dec (diff)
make sure radiotap structures are packed.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/ralvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ralvar.h b/sys/dev/ic/ralvar.h
index 9101e402d8a..5b612c5326a 100644
--- a/sys/dev/ic/ralvar.h
+++ b/sys/dev/ic/ralvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ralvar.h,v 1.4 2005/02/28 17:49:22 damien Exp $ */
+/* $OpenBSD: ralvar.h,v 1.5 2005/03/01 19:30:42 damien Exp $ */
/*-
* Copyright (c) 2005
@@ -26,7 +26,7 @@ struct ral_rx_radiotap_header {
uint16_t wr_chan_flags;
uint8_t wr_antenna;
uint8_t wr_antsignal;
-};
+} __packed;
#define RAL_RX_RADIOTAP_PRESENT \
((1 << IEEE80211_RADIOTAP_TSFT) | \
@@ -42,7 +42,7 @@ struct ral_tx_radiotap_header {
uint16_t wt_chan_freq;
uint16_t wt_chan_flags;
uint8_t wt_antenna;
-};
+} __packed;
#define RAL_TX_RADIOTAP_PRESENT \
((1 << IEEE80211_RADIOTAP_FLAGS) | \