]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cfg80211: DFS check chandef usable before CAC
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Tue, 5 Nov 2013 13:48:48 +0000 (14:48 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:49:43 +0000 (20:49 +0100)
commitfe7c3a1f20a419d86d3f90316d8efc2d04f3f0ed
tree9b058ec8da62e5818478265cdf8d1ad576f6a79b
parent40d1ba63ff4ae1a73b0042202b54b688ada469be
cfg80211: DFS check chandef usable before CAC

Check chandef we get in CAC request is usable for CAC.
All channels have to be DFS channels. Allow DFS_USABLE
and DFS_AVAILABLE channels mix. At least one channel
has to be DFS_USABLE (require CAC).

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Reviewed-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c
net/wireless/core.h
net/wireless/nl80211.c