Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93d08f0b authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJouni Malinen <j@w1.fi>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 90fcba65
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;