wifi: mac80211: fix vendor-specific inheritance
If there's any vendor-specific element in the subelements then the outer element parsing must not parse any vendor element at all. This isn't implemented correctly now due to parsing into the pointers and then overriding them, so explicitly skip vendor elements if any exist in the sub- elements (non-transmitted profile or per-STA profile). Fixes: 671042a4 ("mac80211: support non-inheritance element") Reviewed-by:Ilan Peer <ilan.peer@intel.com> Reviewed-by:
Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250221112451.fd71e5268840.I9db3e6a3367e6ff38d052d07dc07005f0dd3bd5c@changeid Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
Please register or sign in to comment