From: Luciano Coelho Date: Thu, 15 May 2014 10:05:39 +0000 (+0300) Subject: cfg80211: pass the actual iftype when calling cfg80211_chandef_dfs_required() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~17^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00ec75fc5a6499d8fdeb6ec9f8f5df68b9291c74;p=pandora-kernel.git 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 Reported-by: Eliad Peller Signed-off-by: Luciano Coelho Signed-off-by: Johannes Berg --- Reading git-diff-tree failed