Skip to contentSkip to conversation

nl80211: reenable station del for mesh

PATCH New Marco Porsch 1 participant 1 message Mar 30, 2010 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nl80211: reenable station del for mesh

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

---
net/wireless/nl80211.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)
net/wireless/nl80211.c +0 -0
@@ -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;
	}