Skip to content
Snippets Groups Projects
Commit e4342549 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: add a helper to fragment an element


The way this works is that you add all the element data,
keeping a pointer to the length field of the element.
Then call this helper function, which will fragment the
element if there was more than 255 bytes in the element,
memmove()ing the data back if needed.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 8a263dcb
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment