Search Linux Wireless

[PATCH] nl80211: reenable station del for mesh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



iw dev <devname> station del <MAC address> is quiet useful in mesh mode and should be possible.

Signed-off-by: Marco Porsch <marco.porsch@xxxxxxxxxxx>
---
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;
	}

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux