mac80211: make check_combinations() aware of chanctx reservation
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 25 Jun 2014 10:35:07 +0000 (12:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 25 Jun 2014 16:06:20 +0000 (18:06 +0200)
commit71e6195ed2541d764fb0d7ef39cdb2236817116b
tree6b05bec5528281f5cd790905f3e5a21927184218
parent5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f
mac80211: make check_combinations() aware of chanctx reservation

The ieee80211_check_combinations() computes
radar_detect accordingly depending on chanctx
reservation status.

This makes it possible to use the function for
channel_switch validation.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c