wifi: mac80211: fix supported rate masking in scan
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Mar 2024 16:54:51 +0000 (17:54 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Mar 2024 13:24:27 +0000 (14:24 +0100)
commitb73229331ed5dad6479cc3ae9c61d861d5c1f2a2
tree6765bd839b7ec87d4bcdbd9e4e1bdcc70bcdb513
parent2a705bc314961e9b3eb8561645b7704ff278f032
wifi: mac80211: fix supported rate masking in scan

We have an nl80211 attribute to mask supported rates from
probe responses in scanning, e.g. for use in P2P, but in
the refactoring I stopped applying this mask. Restore it.

Fixes: 07095d167749 ("wifi: mac80211: start building elements in SKBs")
Link: https://msgid.link/20240301175451.7ad8ab0bd90c.I46b49e4fc27fe60b75d4559c01104e55ed381c37@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c