aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/preauth_test.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-11-05 15:05:37 (GMT)
committerJouni Malinen <j@w1.fi>2012-11-05 15:05:37 (GMT)
commit1e8a6e7553ad23fbd41b8b10671aef306c12d8f9 (patch)
tree291d48ef41a4add03af5edb5f26b19bfc1005e16 /wpa_supplicant/preauth_test.c
parent3da372fae8b25a4aec12245b05680646f3bd0ccd (diff)
downloadhostap-1e8a6e7553ad23fbd41b8b10671aef306c12d8f9.zip
hostap-1e8a6e7553ad23fbd41b8b10671aef306c12d8f9.tar.gz
hostap-1e8a6e7553ad23fbd41b8b10671aef306c12d8f9.tar.bz2
Remove unused wpa_supplicant_disassociate()
This function is now unused after the last couple of commits that removed the last uses, so remove this to keep code simpler since all places that disassociate, can use deauthentication instead. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/preauth_test.c')
-rw-r--r--wpa_supplicant/preauth_test.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/wpa_supplicant/preauth_test.c b/wpa_supplicant/preauth_test.c
index 62b7538..3503e65 100644
--- a/wpa_supplicant/preauth_test.c
+++ b/wpa_supplicant/preauth_test.c
@@ -38,12 +38,6 @@ struct preauth_test_data {
};
-static void _wpa_supplicant_disassociate(void *wpa_s, int reason_code)
-{
- wpa_supplicant_disassociate(wpa_s, reason_code);
-}
-
-
static void _wpa_supplicant_deauthenticate(void *wpa_s, int reason_code)
{
wpa_supplicant_deauthenticate(wpa_s, reason_code);
@@ -238,7 +232,6 @@ static void wpa_init_conf(struct wpa_supplicant *wpa_s, const char *ifname)
ctx->set_state = _wpa_supplicant_set_state;
ctx->get_state = _wpa_supplicant_get_state;
ctx->deauthenticate = _wpa_supplicant_deauthenticate;
- ctx->disassociate = _wpa_supplicant_disassociate;
ctx->set_key = wpa_supplicant_set_key;
ctx->get_network_ctx = wpa_supplicant_get_network_ctx;
ctx->get_bssid = wpa_supplicant_get_bssid;