From: Johannes Berg Date: Mon, 4 Mar 2013 08:29:46 +0000 (+0100) Subject: cfg80211: enable TDLS on P2P client interfaces X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=93d08f0b785dd3878a3b84a9013a15e57e6b4344;p=linux-beck.git 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 Signed-off-by: Johannes Berg --- 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) return -EINVAL; break; case NL80211_IFTYPE_STATION: + case NL80211_IFTYPE_P2P_CLIENT: /* ignore uAPSD data */ params.sta_modify_mask &= ~STATION_PARAM_APPLY_UAPSD;