#include "common.h"
#include "eloop.h"
#include "ieee802_11_defs.h"
-#include "config.h"
+#include "../config.h"
#include "wpa.h"
#include "wpa_ie.h"
#include "../hostapd/wpa.h"
};
-static struct wpa_ssid * supp_get_ssid(void *ctx)
-{
- struct wpa *wpa = ctx;
- wpa_printf(MSG_DEBUG, "SUPP: %s", __func__);
- return &wpa->ssid;
-}
-
-
static int supp_get_bssid(void *ctx, u8 *bssid)
{
struct wpa *wpa = ctx;
}
-static void supp_cancel_scan(void *ctx)
-{
- wpa_printf(MSG_DEBUG, "SUPP: %s", __func__);
-}
-
-
static void supp_cancel_auth_timeout(void *ctx)
{
wpa_printf(MSG_DEBUG, "SUPP: %s", __func__);
ctx->ctx = wpa;
ctx->set_state = supp_set_state;
- ctx->get_ssid = supp_get_ssid;
ctx->get_bssid = supp_get_bssid;
ctx->ether_send = supp_ether_send;
ctx->get_beacon_ie = supp_get_beacon_ie;
ctx->alloc_eapol = supp_alloc_eapol;
ctx->set_key = supp_set_key;
ctx->mlme_setprotection = supp_mlme_setprotection;
- ctx->cancel_scan = supp_cancel_scan;
ctx->cancel_auth_timeout = supp_cancel_auth_timeout;
wpa->supp = wpa_sm_init(ctx);
if (wpa->supp == NULL) {