Lines 1972-1978
Link Here
|
1972 |
goto fail1; |
1972 |
goto fail1; |
1973 |
} |
1973 |
} |
1974 |
/* Discard frames that are too short. */ |
1974 |
/* Discard frames that are too short. */ |
1975 |
if (len < sizeof (*wh)) { |
1975 |
if (len < sizeof (struct ieee80211_frame_ack)) { |
1976 |
DPRINTF(sc, WPI_DEBUG_RECV, "%s: frame too short: %d\n", |
1976 |
DPRINTF(sc, WPI_DEBUG_RECV, "%s: frame too short: %d\n", |
1977 |
__func__, len); |
1977 |
__func__, len); |
1978 |
goto fail1; |
1978 |
goto fail1; |
Lines 2033-2039
Link Here
|
2033 |
m->m_flags |= M_WEP; |
2033 |
m->m_flags |= M_WEP; |
2034 |
} |
2034 |
} |
2035 |
|
2035 |
|
2036 |
ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh); |
2036 |
if (len >= sizeof(struct ieee80211_frame_min)) |
|
|
2037 |
ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh); |
2038 |
else |
2039 |
ni = NULL; |
2040 |
|
2037 |
sc->rx_tstamp = tail->tstamp; |
2041 |
sc->rx_tstamp = tail->tstamp; |
2038 |
|
2042 |
|
2039 |
if (ieee80211_radiotap_active(ic)) { |
2043 |
if (ieee80211_radiotap_active(ic)) { |