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)
commite7f2337ae70e0cdaac577c5a4823775097d0e9e7
treed525b02d7e4b9c16ad2b5cf9ab3b38153cb255ef
parent5cbc95a749c5f3b238af0953881edede9bfe5bf6
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