diff mbox

cfg80211: fix wiphy freq hint nl80211 policy

Message ID 1389882885-6950-1-git-send-email-michal.kazior@tieto.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Michal Kazior Jan. 16, 2014, 2:34 p.m. UTC
The attribute name was mistyped. Actual nl80211
policy for NL80211_ATTR_WIPHY_FREQ_HINT was
missing.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
---

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(-)

Comments

Johannes Berg Jan. 16, 2014, 2:43 p.m. UTC | #1
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 <michal.kazior@tieto.com>
> ---
> 
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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 */