projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90fcba6
)
cfg80211: enable TDLS on P2P client interfaces
author
Johannes Berg
<johannes.berg@intel.com>
Mon, 4 Mar 2013 08:29:46 +0000
(09:29 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 6 Mar 2013 15:36:04 +0000
(16:36 +0100)
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>
net/wireless/nl80211.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index 08de0c6035f1ca88255d8f7f93583dc9a68416b1..7469020175d5bde8b1e5e9921b141bcc3c113e3b 100644
(file)
--- 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;