From 7cc92d7275bd8d09759233304948fdb1fc1db6cf Mon Sep 17 00:00:00 2001 From: Michael Bernhard Date: Sun, 13 Apr 2008 12:33:59 +0300 Subject: [PATCH] driver_nl80211: Use the correct nl80211 command to flush all stations Signed-off-by: Michael Bernhard --- hostapd/driver_nl80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostapd/driver_nl80211.c b/hostapd/driver_nl80211.c index 2fdfa57e8..887e0c666 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