cfg80211/mac80211: refactor cfg80211_chandef_dfs_required()
authorLuciano Coelho <luciano.coelho@intel.com>
Tue, 18 Feb 2014 09:40:36 +0000 (11:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Apr 2014 08:55:41 +0000 (10:55 +0200)
commit2beb6dab2d799ee8934cb0801845e551ad8c70f2
tree58261561098a2bc3aaf747041382324119b00128
parentcb2d956dd329caa11b5ece454dc52253aa038e73
cfg80211/mac80211: refactor cfg80211_chandef_dfs_required()

Some interface types don't require DFS (such as STATION, P2P_CLIENT
etc).  In order to centralize these decisions, make
cfg80211_chandef_dfs_required() take the iftype into consideration.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/ibss.c
net/mac80211/mesh.c
net/wireless/chan.c
net/wireless/mesh.c
net/wireless/nl80211.c