commit | 1a28ed213696b379a64540ce1a879a07e36b44db | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue May 28 14:18:07 2019 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue May 28 14:18:07 2019 +0200 |
tree | 86362eddf32940a2df1e77651ae8c774f0fd290d | |
parent | a3ce17d1495b65d62fceb2c7a704bb97133c5de9 [diff] |
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: Johannes Berg <johannes.berg@intel.com>