X-Git-Url: http://git.maemo.org/git/?p=wpasupplicant;a=blobdiff_plain;f=wpa_supplicant%2Fwpa_supplicant.c;h=7804f7b39862cf729a3812445b2b746cdbe9ae15;hp=f730bcfbb94abea2357da6eebee10d2868036d21;hb=db149ac9492c7da0db7e172cf777a4385712c278;hpb=07d9a55297a49b7e001452d20982105bf2da55d8 diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index f730bcf..7804f7b 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -1570,6 +1570,13 @@ void wpa_supplicant_rx_eapol(void *ctx, const u8 *src_addr, wpa_printf(MSG_DEBUG, "RX EAPOL from " MACSTR, MAC2STR(src_addr)); wpa_hexdump(MSG_MSGDUMP, "RX EAPOL", buf, len); +#ifdef CONFIG_AP + if (wpa_s->ap_iface) { + wpa_supplicant_ap_rx_eapol(wpa_s, src_addr, buf, len); + return; + } +#endif /* CONFIG_AP */ + if (wpa_s->key_mgmt == WPA_KEY_MGMT_NONE) { wpa_printf(MSG_DEBUG, "Ignored received EAPOL frame since " "no key management is configured");