summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-06-17 09:58:06 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-07-17 15:37:52 +0200
commit5c48f1201744233d4f235c7dd916d5196ed20716 (patch)
treeb77710efbc9861a9fb8a597d1c96bdd09fdeb281 /net/mac80211/cfg.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-5c48f1201744233d4f235c7dd916d5196ed20716.tar.xz
linux-5c48f1201744233d4f235c7dd916d5196ed20716.zip
mac80211: remove exposing 'mfp' to drivers
There's no driver using this, so remove it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index bf7023f6c327..5fc7788e2ff2 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1076,7 +1076,6 @@ static int sta_apply_parameters(struct ieee80211_local *local,
}
if (mask & BIT(NL80211_STA_FLAG_MFP)) {
- sta->sta.mfp = !!(set & BIT(NL80211_STA_FLAG_MFP));
if (set & BIT(NL80211_STA_FLAG_MFP))
set_sta_flag(sta, WLAN_STA_MFP);
else