]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: don't use TPE data from assoc response
authorJohannes Berg <johannes.berg@intel.com>
Wed, 9 Jul 2025 20:38:03 +0000 (23:38 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Jul 2025 09:00:40 +0000 (11:00 +0200)
commita597432cc9e640439370d9dc95952220cc13fc2b
tree0c2cfc8d37af498c926f696ed54a4a23cda3e71a
parent93370f2d37f50757a810da409efc0223c342527e
wifi: mac80211: don't use TPE data from assoc response

Since there's no TPE element in the (re)assoc response, trying
to use the data from it just leads to using the defaults, even
though the real values had been set during authentication from
the discovered BSS information.

Fix this by simply not handling the TPE data in assoc response
since it's not intended to be present, if it changes later the
necessary changes will be made by tracking beacons later.

As a side effect, by passing the real frame subtype, now print
a correct value for ML reconfiguration responses.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250709233537.caa1ca853f5a.I588271f386731978163aa9d84ae75d6f79633e16@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c