driver_nl80211: Use the correct nl80211 command to flush all stations

Signed-off-by: Michael Bernhard <michael.bernhard at bfh.ch>
This commit is contained in:
Michael Bernhard 2008-04-13 12:33:59 +03:00 committed by Jouni Malinen
parent dda803699f
commit 7cc92d7275

View file

@ -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