The attribute name was mistyped. Actual nl80211
policy for NL80211_ATTR_WIPHY_FREQ_HINT was
missing.
Signed-off-by: Michal Kazior <[email protected]>
---
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
On Thu, 2014-01-16 at 15:34 +0100, Michal Kazior wrote:
> The attribute name was mistyped. Actual nl80211
> policy for NL80211_ATTR_WIPHY_FREQ_HINT was
> missing.
>
> Signed-off-by: Michal Kazior <[email protected]>
> ---
>
> I've spoted this while rebasing some of my
> patches. This should apply on top of
> mac80211-next/master.
Huh. I was pretty sure I'd already fixed that when applying the patch,
how did I mention to write that into the commit log but not actually do
it?!
Since I'll rebase anyway next week I've rebased now to fix this ...
Sorry!
johannes