summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-04 08:29:46 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2013-03-06 15:36:04 (GMT)
commit93d08f0b785dd3878a3b84a9013a15e57e6b4344 (patch)
tree76f1acd662ef033d2497958fe92f5c6045235fa3
parent90fcba65d29e3fc35847a5bb46ecaa87ab412685 (diff)
downloadlinux-fsl-qoriq-93d08f0b785dd3878a3b84a9013a15e57e6b4344.tar.xz
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>
-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 08de0c6..7469020 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;