]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: mlme: look up beacon elems only if needed
authorJohannes Berg <johannes.berg@intel.com>
Tue, 12 Jul 2022 15:21:22 +0000 (17:21 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:23 +0000 (11:43 +0200)
commita67703831317da6b0b447fe8df7810eb468e2cde
tree1ce6ea1f9c813dd832ba5ee049c0ef1bc513e012
parent40f2147be7100cbbbcf2b0e74953682ed9ffd3ea
wifi: mac80211: mlme: look up beacon elems only if needed

If NEED_DTIM_BEFORE_ASSOC isn't set, then we don't need
to enter an RCU critical section and look up the beacon
elements.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c