commit | 1c8745f3ec6f46f5fa99dbcdf92381144ae1b37f | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Feb 07 22:36:33 2019 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Feb 08 13:51:50 2019 +0100 |
tree | 5b5afc6da8efa240c4fe0cc0c72b16ce1bcbdb41 | |
parent | 0b8fb8235be8be99a197e8d948fc0a2df8dc261a [diff] |
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: Johannes Berg <johannes.berg@intel.com>