summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2012-01-11 17:10:27 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2012-01-11 17:10:27 +0000
commit136cb2223f8179c714ac46804f77bcbb1729cc05 (patch)
treed8038d1756a60573c88f21a9ed766edf253e56c7
parentf5d125c53df7a67b8f9a477e5a793dc055271944 (diff)
Notes
-rw-r--r--sys/net80211/ieee80211_ioctl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c
index 4f4abadba172..4118c5705845 100644
--- a/sys/net80211/ieee80211_ioctl.c
+++ b/sys/net80211/ieee80211_ioctl.c
@@ -1397,6 +1397,17 @@ setmlme_common(struct ieee80211vap *vap, int op,
IEEE80211_FC0_SUBTYPE_DEAUTH, reason);
ieee80211_free_node(ni);
break;
+ case IEEE80211_M_MBSS:
+ IEEE80211_NODE_LOCK(nt);
+ ni = ieee80211_find_node_locked(nt, mac);
+ if (ni != NULL) {
+ ieee80211_node_leave(ni);
+ ieee80211_free_node(ni);
+ } else {
+ error = ENOENT;
+ }
+ IEEE80211_NODE_UNLOCK(nt);
+ break;
default:
error = EINVAL;
break;