summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@cozybit.com>2011-05-03 16:57:12 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-05-11 14:44:47 -0400
commitff973af74aa6932ca4758266bccec68e8135ddf7 (patch)
tree4d18994cffe190d50acaae4ecce1c3684186f063 /net/wireless
parent9c3990aaec0ad9f686ef6480f6861f2df89b2a7a (diff)
downloadop-kernel-dev-ff973af74aa6932ca4758266bccec68e8135ddf7.zip
op-kernel-dev-ff973af74aa6932ca4758266bccec68e8135ddf7.tar.gz
nl80211: allow installing keys for a meshif
Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.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 f698c1d..b454f89 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -545,6 +545,7 @@ static int nl80211_key_allowed(struct wireless_dev *wdev)
case NL80211_IFTYPE_AP:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_P2P_GO:
+ case NL80211_IFTYPE_MESH_POINT:
break;
case NL80211_IFTYPE_ADHOC:
if (!wdev->current_bss)
OpenPOWER on IntegriCloud