summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/wlan/if_urtwvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/wlan/if_urtwvar.h')
-rw-r--r--sys/dev/usb/wlan/if_urtwvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/wlan/if_urtwvar.h b/sys/dev/usb/wlan/if_urtwvar.h
index 6b55106..e99cbf4 100644
--- a/sys/dev/usb/wlan/if_urtwvar.h
+++ b/sys/dev/usb/wlan/if_urtwvar.h
@@ -63,7 +63,7 @@ struct urtw_rx_radiotap_header {
uint16_t wr_chan_freq;
uint16_t wr_chan_flags;
int8_t wr_dbm_antsignal;
-} __packed;
+} __packed __aligned(8);
#define URTW_RX_RADIOTAP_PRESENT \
((1 << IEEE80211_RADIOTAP_FLAGS) | \
@@ -75,7 +75,7 @@ struct urtw_tx_radiotap_header {
uint8_t wt_flags;
uint16_t wt_chan_freq;
uint16_t wt_chan_flags;
-} __packed;
+} __packed __aligned(8);
#define URTW_TX_RADIOTAP_PRESENT \
((1 << IEEE80211_RADIOTAP_FLAGS) | \
OpenPOWER on IntegriCloud