diff options
author | Eliad Peller <eliad@wizery.com> | 2012-07-30 00:13:07 +0300 |
---|---|---|
committer | Arik Nemtsov <arik@wizery.com> | 2012-08-02 13:03:07 +0300 |
commit | 45145b1172780a93670defa2de7b7a5c539370c6 (patch) | |
tree | 35cf001a3721e672b4c3c9ef8ea9ecb359c1a94b /src/ap/tkip_countermeasures.c | |
parent | 7a7697575823dddb81482414c8d77d0e74507a9c (diff) | |
download | external_wpa_supplicant_8_ti-45145b1172780a93670defa2de7b7a5c539370c6.zip external_wpa_supplicant_8_ti-45145b1172780a93670defa2de7b7a5c539370c6.tar.gz external_wpa_supplicant_8_ti-45145b1172780a93670defa2de7b7a5c539370c6.tar.bz2 |
add set/cancel_priority to ap mode as well
ROC when the ap gets the first auth request, and CROC
after authorization (or after connection fails).
Signed-off-by: Eliad Peller <eliad@wizery.com>
Diffstat (limited to 'src/ap/tkip_countermeasures.c')
-rw-r--r-- | src/ap/tkip_countermeasures.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/tkip_countermeasures.c b/src/ap/tkip_countermeasures.c index dd5aa68..bb6f9ef 100644 --- a/src/ap/tkip_countermeasures.c +++ b/src/ap/tkip_countermeasures.c @@ -55,6 +55,7 @@ static void ieee80211_tkip_countermeasures_start(struct hostapd_data *hapd) } hostapd_drv_sta_deauth(hapd, sta->addr, WLAN_REASON_MICHAEL_MIC_FAILURE); + ap_sta_cancel_priority(hapd, sta); ap_free_sta(hapd, sta); } } |