On 15 May 2014 12:05, Luca Coelho <luca@xxxxxxxxx> wrote: > From: Luciano Coelho <luciano.coelho@xxxxxxxxx> > > 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. > > Cc: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx> > Reported-by: Eliad Peller <eliad@xxxxxxxxxx> > Signed-off-by: Luciano Coelho <luciano.coelho@xxxxxxxxx> Tested-by: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx> Thanks, works fine. BR Janusz -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html