|
@@ -1714,20 +1714,6 @@ static int wpa_driver_test_deauthenticate(void *priv, const u8 *addr,
|
|
|
}
|
|
|
|
|
|
|
|
|
-static int wpa_driver_test_disassociate(void *priv, const u8 *addr,
|
|
|
- int reason_code)
|
|
|
-{
|
|
|
- struct test_driver_bss *dbss = priv;
|
|
|
- struct wpa_driver_test_data *drv = dbss->drv;
|
|
|
- wpa_printf(MSG_DEBUG, "%s addr=" MACSTR " reason_code=%d",
|
|
|
- __func__, MAC2STR(addr), reason_code);
|
|
|
- os_memset(dbss->bssid, 0, ETH_ALEN);
|
|
|
- drv->associated = 0;
|
|
|
- wpa_supplicant_event(drv->ctx, EVENT_DISASSOC, NULL);
|
|
|
- return wpa_driver_test_send_disassoc(drv);
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
static const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie)
|
|
|
{
|
|
|
const u8 *end, *pos;
|
|
@@ -3299,7 +3285,6 @@ const struct wpa_driver_ops wpa_driver_test_ops = {
|
|
|
.deinit = wpa_driver_test_deinit,
|
|
|
.set_param = wpa_driver_test_set_param,
|
|
|
.deauthenticate = wpa_driver_test_deauthenticate,
|
|
|
- .disassociate = wpa_driver_test_disassociate,
|
|
|
.associate = wpa_driver_test_associate,
|
|
|
.get_capa = wpa_driver_test_get_capa,
|
|
|
.get_mac_addr = wpa_driver_test_get_mac_addr,
|