Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211_adhoc.c
Show First 20 Lines • Show All 525 Lines • ▼ Show 20 Lines | if (subtype == IEEE80211_FC0_SUBTYPE_QOS) | ||||
qos = ieee80211_getqos(wh)[0]; | qos = ieee80211_getqos(wh)[0]; | ||||
else | else | ||||
qos = 0; | qos = 0; | ||||
/* | /* | ||||
* Next up, any fragmentation. | * Next up, any fragmentation. | ||||
*/ | */ | ||||
if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) { | if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) { | ||||
m = ieee80211_defrag(ni, m, hdrspace); | m = ieee80211_defrag(ni, m, hdrspace, has_decrypted); | ||||
if (m == NULL) { | if (m == NULL) { | ||||
/* Fragment dropped or frame not complete yet */ | /* Fragment dropped or frame not complete yet */ | ||||
goto out; | goto out; | ||||
} | } | ||||
} | } | ||||
wh = NULL; /* no longer valid, catch any uses */ | wh = NULL; /* no longer valid, catch any uses */ | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 511 Lines • Show Last 20 Lines |