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

cfg80211: use for_each_element() for multi-bssid parsing


Use the new for_each_element() helper here, we cannot use
for_each_subelement() since we have a fixed 1 byte before
the subelements start.

While at it, also fix le16_to_cpup() to be get_unaligned_le16()
since we don't know anything about alignment.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 0b8fb823
No related branches found
No related tags found
No related merge requests found
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