[PATH 1/6] driver_nl80211.c: Use the correct nl80211 command to flush all stations
Bernhard Michael
michael.bernhard
Sat Apr 12 06:07:25 PDT 2008
Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
---
hostapd/driver_nl80211.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hostapd/driver_nl80211.c b/hostapd/driver_nl80211.c
index 2fdfa57..887e0c6 100644
--- a/hostapd/driver_nl80211.c
+++ b/hostapd/driver_nl80211.c
@@ -574,7 +574,7 @@ static int i802_flush(void *priv)
goto out;
genlmsg_put(msg, 0, 0, genl_family_get_id(drv->nl80211), 0,
- 0, NL80211_CMD_NEW_STATION, 0);
+ 0, NL80211_CMD_DEL_STATION, 0);
/*
* XXX: FIX! this needs to flush all VLANs too
More information about the Hostap
mailing list