mac80211: DFS setup chandef for radar_event correctly
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Tue, 5 Nov 2013 13:48:46 +0000 (14:48 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 15:50:03 +0000 (16:50 +0100)
commit84a3d1c97d024acd1d27ebbc10cb95784b11f4e7
tree844e6c70bc2b191b3f1095850842b0175e885fe4
parent1fe4517cebc35ef900fa483d19c3090681f3c7bc
mac80211: DFS setup chandef for radar_event correctly

Setup chandef for radar event correctly, before we
will clear this in ieee80211_dfs_cac_cancel() function.

Without this patch mac80211 will report wrong channel
width in case we will get radar event during active 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/mac80211/util.c