]> 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)
commitf86d534dbed3a3d5114c29b42eeb5885b36b3e48
treed3999b77cf0021862ddfe67233f847cb7e74793b
parent0318cafafc10735da12a84f9a6c0b3510c6c28f0
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