don't include 802.3 header in min frame length calculation as it may
not be present for a frag; fixes problem with small (fragmented) frames being dropped Obtained from: Atheros MFC after: 3 days
This commit is contained in:
parent
e4918ecdb9
commit
a92c6eb0f1
@ -543,7 +543,7 @@ ieee80211_crypto_decap(struct ieee80211com *ic,
|
||||
{
|
||||
#define IEEE80211_WEP_HDRLEN (IEEE80211_WEP_IVLEN + IEEE80211_WEP_KIDLEN)
|
||||
#define IEEE80211_WEP_MINLEN \
|
||||
(sizeof(struct ieee80211_frame) + ETHER_HDR_LEN + \
|
||||
(sizeof(struct ieee80211_frame) + \
|
||||
IEEE80211_WEP_HDRLEN + IEEE80211_WEP_CRCLEN)
|
||||
struct ieee80211_key *k;
|
||||
struct ieee80211_frame *wh;
|
||||
|
Loading…
Reference in New Issue
Block a user