diff options
author | Lin Ma <[email protected]> | 2023-08-09 11:31:51 +0800 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2023-08-22 21:40:40 +0200 |
commit | 218d690c49b7e9c94ad0d317adbdd4af846ea0dc (patch) | |
tree | efc1c284868909be4c8debb308605d4d31946f1c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d40de0ad3d1b95da2b263c9361e91b984ab9c16d (diff) |
wifi: nl80211/cfg80211: add forgotten nla_policy for BSS color attribute
The previous commit dd3e4fc75b4a ("nl80211/cfg80211: add BSS color to
NDP ranging parameters") adds a parameter for NDP ranging by introducing
a new attribute type named NL80211_PMSR_FTM_REQ_ATTR_BSS_COLOR.
However, the author forgot to also describe the nla_policy at
nl80211_pmsr_ftm_req_attr_policy (net/wireless/nl80211.c). Just
complement it to avoid malformed attribute that causes out-of-attribute
access.
Fixes: dd3e4fc75b4a ("nl80211/cfg80211: add BSS color to NDP ranging parameters")
Signed-off-by: Lin Ma <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions