The attribute name was mistyped. Actual nl80211 policy for NL80211_ATTR_WIPHY_FREQ_HINT was missing. Signed-off-by: Michal Kazior <michal.kazior@xxxxxxxxx> --- I've spoted this while rebasing some of my patches. This should apply on top of mac80211-next/master. net/wireless/nl80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index fa5368a..6e78c62 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -385,7 +385,7 @@ static const struct nla_policy nl80211_policy[NL80211_ATTR_MAX+1] = { [NL80211_ATTR_QOS_MAP] = { .type = NLA_BINARY, .len = IEEE80211_QOS_MAP_LEN_MAX }, [NL80211_ATTR_MAC_HINT] = { .len = ETH_ALEN }, - [NL80211_ATTR_WIPHY_FREQ] = { .type = NLA_U32 }, + [NL80211_ATTR_WIPHY_FREQ_HINT] = { .type = NLA_U32 }, }; /* policy for the key attributes */ -- 1.8.4.rc3 -- 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