aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/wext.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/wext.c')
-rw-r--r--net/mac80211/wext.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/mac80211/wext.c b/net/mac80211/wext.c
index 7ba1d5ba3afa..2dd387495dfe 100644
--- a/net/mac80211/wext.c
+++ b/net/mac80211/wext.c
@@ -975,6 +975,13 @@ static int ieee80211_ioctl_siwauth(struct net_device *dev,
975 else 975 else
976 ret = -EOPNOTSUPP; 976 ret = -EOPNOTSUPP;
977 break; 977 break;
978 case IW_AUTH_MFP:
979 if (sdata->vif.type == NL80211_IFTYPE_STATION ||
980 sdata->vif.type == NL80211_IFTYPE_ADHOC)
981 sdata->u.sta.mfp = data->value;
982 else
983 ret = -EOPNOTSUPP;
984 break;
978 default: 985 default:
979 ret = -EOPNOTSUPP; 986 ret = -EOPNOTSUPP;
980 break; 987 break;