diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2014-05-15 12:05:39 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-15 14:50:34 +0200 |
commit | 00ec75fc5a6499d8fdeb6ec9f8f5df68b9291c74 (patch) | |
tree | 39a045532237ff61d58f7dc8e12ad593722cfa58 /include/net/netrom.h | |
parent | cfg80211: fix start_radar_detection issue (diff) | |
download | linux-00ec75fc5a6499d8fdeb6ec9f8f5df68b9291c74.tar.xz linux-00ec75fc5a6499d8fdeb6ec9f8f5df68b9291c74.zip |
cfg80211: pass the actual iftype when calling cfg80211_chandef_dfs_required()
There is no need to pass NL80211_IFTYPE_UNSPECIFIED when calling
cfg80211_chandef_dfs_required() since we always already have the
interface type. So, pass the actual interface type instead.
Additionally, have cfg80211_chandef_dfs_required() WARN if the passed
interface type is NL80211_IFTYPE_UNSPECIFIED, so we can detect
problems more easily.
Tested-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Reported-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/netrom.h')
0 files changed, 0 insertions, 0 deletions