aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorMichael Bernhard <michael.bernhard@bfh.ch>2008-04-13 12:33:59 +0300
committerJouni Malinen <j@w1.fi>2008-04-13 12:33:59 +0300
commit7cc92d7275bd8d09759233304948fdb1fc1db6cf (patch)
tree21b53f51e0e0b0ca3f9473163e631404de7e8b1a /hostapd
parentdda803699fddfb0a55771475f3e86ee32711e9a9 (diff)
downloadexternal_wpa_supplicant_8_ti-7cc92d7275bd8d09759233304948fdb1fc1db6cf.zip
external_wpa_supplicant_8_ti-7cc92d7275bd8d09759233304948fdb1fc1db6cf.tar.gz
external_wpa_supplicant_8_ti-7cc92d7275bd8d09759233304948fdb1fc1db6cf.tar.bz2
driver_nl80211: Use the correct nl80211 command to flush all stations
Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/driver_nl80211.c2
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