summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMarco Porsch <marco.porsch@siemens.com>2010-03-30 10:00:16 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-03-31 14:49:12 -0400
commitd5d9de024c157a3dfbab191241c5c51e4d4c069a (patch)
treef05c33d67881e5a08a5650a5202602d1edcfb987 /net
parent932d37c094b3c3410b4059f18f3b5c756bff059a (diff)
downloadlinux-d5d9de024c157a3dfbab191241c5c51e4d4c069a.tar.bz2
nl80211: reenable station del for mesh
iw dev <devname> station del <MAC address> is quiet useful in mesh mode and should be possible. Signed-off-by: Marco Porsch <marco.porsch@siemens.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r--net/wireless/nl80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index a7fc3d83f5f6..95149f303409 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -2096,7 +2096,8 @@ static int nl80211_del_station(struct sk_buff *skb, struct genl_info *info)
goto out_rtnl;
if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
- dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN) {
+ dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN &&
+ dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) {
err = -EINVAL;
goto out;
}