* [PATCH] nl80211: reenable station del for mesh
@ 2010-03-30 8:00 Marco Porsch
0 siblings, 0 replies; only message in thread
From: Marco Porsch @ 2010-03-30 8:00 UTC (permalink / raw)
To: linux-wireless@vger.kernel.org
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>
---
net/wireless/nl80211.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
--- a/net/wireless/nl80211.c 2010-03-29 16:05:15.000000000 +0200
+++ b/net/wireless/nl80211.c 2010-03-29 17:10:29.000000000 +0200
@@ -2105,7 +2105,8 @@ static int nl80211_del_station(struct sk
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-30 8:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-30 8:00 [PATCH] nl80211: reenable station del for mesh Marco Porsch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).