diff options
Diffstat (limited to 'drivers/net/wireless/ipw2100.h')
-rw-r--r-- | drivers/net/wireless/ipw2100.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2100.h b/drivers/net/wireless/ipw2100.h index 0cc5746dd4f1..bb31fa03f69f 100644 --- a/drivers/net/wireless/ipw2100.h +++ b/drivers/net/wireless/ipw2100.h | |||
@@ -885,7 +885,7 @@ struct ipw2100_priv { | |||
885 | 885 | ||
886 | 886 | ||
887 | 887 | ||
888 | #define IPW_HEADER_802_11_SIZE sizeof(struct ieee80211_header_data) | 888 | #define IPW_HEADER_802_11_SIZE sizeof(struct ieee80211_hdr_3addr) |
889 | #define IPW_MAX_80211_PAYLOAD_SIZE 2304U | 889 | #define IPW_MAX_80211_PAYLOAD_SIZE 2304U |
890 | #define IPW_MAX_802_11_PAYLOAD_LENGTH 2312 | 890 | #define IPW_MAX_802_11_PAYLOAD_LENGTH 2312 |
891 | #define IPW_MAX_ACCEPTABLE_TX_FRAME_LENGTH 1536 | 891 | #define IPW_MAX_ACCEPTABLE_TX_FRAME_LENGTH 1536 |
@@ -900,7 +900,7 @@ struct ipw2100_priv { | |||
900 | IPW_802_11_FCS_LENGTH) | 900 | IPW_802_11_FCS_LENGTH) |
901 | 901 | ||
902 | #define IPW_802_11_PAYLOAD_OFFSET \ | 902 | #define IPW_802_11_PAYLOAD_OFFSET \ |
903 | (sizeof(struct ieee80211_header_data) + \ | 903 | (sizeof(struct ieee80211_hdr_3addr) + \ |
904 | sizeof(struct ieee80211_snap_hdr)) | 904 | sizeof(struct ieee80211_snap_hdr)) |
905 | 905 | ||
906 | struct ipw2100_rx { | 906 | struct ipw2100_rx { |