]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: refactor some key code
authorJohannes Berg <johannes.berg@intel.com>
Thu, 19 May 2022 21:27:22 +0000 (23:27 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Jun 2022 14:12:57 +0000 (16:12 +0200)
commitf402f0ae4576a3711f30b2053f618886aaed519e
treeb1d61a002133d3cddfff3681d2505f54e9759121
parent82bd4262fcdd29ccf41a07f665f05e105ec9a55e
wifi: mac80211: refactor some key code

There's some pretty close code here, with the exception
of RCU dereference vs. protected dereference. Refactor
this to just return a pointer and then do the deref in
the caller later.

Change-Id: Ide5315e2792da6ac66eaf852293306a3ac71ced9
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/key.h