Skip to content
Commit 1a28ed21 authored by Johannes Berg's avatar Johannes Berg
Browse files

nl80211: fill all policy .type entries



For old commands, it's fine to have .type = NLA_UNSPEC and it
behaves the same as NLA_MIN_LEN. However, for new commands with
strict validation this is no longer true, and for policy export
to userspace these are also ignored.

Fix up the remaining ones that don't have a type.

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