CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/06/07 10:46:17
Modified files:
sys/net80211 : ieee80211_input.c
Log message:
tweak ieee80211_decap():
instead of copying the 802.11 header on the stack and building
the ethernet header directly in the mbuf, build the ethernet
header on the stack directly from the 802.11 header in the
mbuf and copy the ethernet header to the mbuf after stripping
the 802.11 header.
makes the code easier to read/understand, especially, it is
now explicit what is being put in the ether_type field.
diff from Matthew Dempsky (matthew at dempsky dot org)
moved ieee80211_align_mbuf() under #ifdef __STRICT_ALIGNMENT
while i'm here.