]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: consider only relevant vifs for radar_required calculation
authorEliad Peller <eliad@wizery.com>
Wed, 7 Jan 2015 15:50:10 +0000 (17:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jan 2015 08:37:06 +0000 (09:37 +0100)
commit2169b7f0ddbfc7c852d6a68e003c1fc377627ed4
treed525b02d7e4b9c16ad2b5cf9ab3b38153cb255ef
parent3056c9d1b458b525ecf1920188a1dcc8707d1841
mac80211: consider only relevant vifs for radar_required calculation

ctx->conf.radar_enabled should reflect whether radar
detection is enabled for the channel context.

When calculating it, make it consider only the vifs
that have this context assigned (instead of all the
vifs).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c