]> git.karo-electronics.de Git - linux-beck.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)
commite996ec2a4ddb53164262990d33304c429709f687
treed3999b77cf0021862ddfe67233f847cb7e74793b
parent1365770248c122dd155351e714b44fe77036292c
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