cfg80211/mac80211: DFS setup chandef for cac event
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Wed, 6 Nov 2013 12:55:51 +0000 (13:55 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:50:46 +0000 (20:50 +0100)
commitd2859df5e7f00469011482d850fba652517a2eab
treee43b5fe6844f412cf27fdc6aaf2d25eef90b3a81
parent5282c3ba4c5a24b2ab45a6742f9ab01a3d90c167
cfg80211/mac80211: DFS setup chandef for cac event

To report channel width correctly we have
to send correct channel parameters from
mac80211 when calling cfg80211_cac_event().

This is required in case of using channel width
higher than 20MHz and we have to set correct
dfs channel state after CAC (NL80211_DFS_AVAILABLE).

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>
include/net/cfg80211.h
net/mac80211/cfg.c
net/mac80211/iface.c
net/mac80211/mlme.c
net/mac80211/util.c
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h