]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
nl80211: add TDLS peer flag to policy
authorJohannes Berg <johannes.berg@intel.com>
Wed, 14 Dec 2011 08:29:15 +0000 (09:29 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Dec 2011 19:45:45 +0000 (14:45 -0500)
This was evidently missed in the TDLS patch (07ba55d7).

Cc: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c

index 4d708cea390f03d03f0d2321928cfb64e862ab71..d86428145c328f5cf93a305c6a66e7f2985caff5 100644 (file)
@@ -2246,6 +2246,7 @@ static const struct nla_policy sta_flags_policy[NL80211_STA_FLAG_MAX + 1] = {
        [NL80211_STA_FLAG_WME] = { .type = NLA_FLAG },
        [NL80211_STA_FLAG_MFP] = { .type = NLA_FLAG },
        [NL80211_STA_FLAG_AUTHENTICATED] = { .type = NLA_FLAG },
+       [NL80211_STA_FLAG_TDLS_PEER] = { .type = NLA_FLAG },
 };
 
 static int parse_station_flags(struct genl_info *info,