summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-04 09:29:46 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-03-06 16:36:04 +0100
commit93d08f0b785dd3878a3b84a9013a15e57e6b4344 (patch)
tree76f1acd662ef033d2497958fe92f5c6045235fa3 /net/wireless
parent90fcba65d29e3fc35847a5bb46ecaa87ab412685 (diff)
downloadlinux-3.10-93d08f0b785dd3878a3b84a9013a15e57e6b4344.tar.gz
linux-3.10-93d08f0b785dd3878a3b84a9013a15e57e6b4344.tar.bz2
linux-3.10-93d08f0b785dd3878a3b84a9013a15e57e6b4344.zip
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 08de0c6035f..7469020175d 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)
return -EINVAL;
break;
case NL80211_IFTYPE_STATION:
+ case NL80211_IFTYPE_P2P_CLIENT:
/* ignore uAPSD data */
params.sta_modify_mask &= ~STATION_PARAM_APPLY_UAPSD;