diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-03-04 03:29:46 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-06 10:36:04 -0500 |
commit | 93d08f0b785dd3878a3b84a9013a15e57e6b4344 (patch) | |
tree | 76f1acd662ef033d2497958fe92f5c6045235fa3 /net/wireless | |
parent | 90fcba65d29e3fc35847a5bb46ecaa87ab412685 (diff) |
cfg80211: enable TDLS on P2P client interfaces
There's no reason TDLS should be prevented on P2P client
interfaces, and most of the code already handles it, so
allow adding stations for it.
Reported-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/nl80211.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 08de0c6035f1..7469020175d5 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -4051,6 +4051,7 @@ static int nl80211_new_station(struct sk_buff *skb, struct genl_info *info) | |||
4051 | return -EINVAL; | 4051 | return -EINVAL; |
4052 | break; | 4052 | break; |
4053 | case NL80211_IFTYPE_STATION: | 4053 | case NL80211_IFTYPE_STATION: |
4054 | case NL80211_IFTYPE_P2P_CLIENT: | ||
4054 | /* ignore uAPSD data */ | 4055 | /* ignore uAPSD data */ |
4055 | params.sta_modify_mask &= ~STATION_PARAM_APPLY_UAPSD; | 4056 | params.sta_modify_mask &= ~STATION_PARAM_APPLY_UAPSD; |
4056 | 4057 | ||