]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: avoid unnecessary beacon deref on CSA counter update
authorWojciech Dubowik <Wojciech.Dubowik@neratec.com>
Wed, 10 Jun 2015 11:06:53 +0000 (13:06 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:38:08 +0000 (15:38 +0200)
commit4f3f18e5f0115f4a54d22d61e6a8353e145b8794
treed3999b77cf0021862ddfe67233f847cb7e74793b
parentff958ec03b3c1c751922ffad4bb33a372dc82c51
mac80211: avoid unnecessary beacon deref on CSA counter update

The beacon struct is already available in many contexts that
are also already in an RCU read-locked section. Avoid that by
using the existing beacon struct pointer directly.

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
[rewrite subject/add commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c