3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

monitor: Add EAP dummy method to keep linker happy

This commit is contained in:
Marcel Holtmann 2018-09-14 17:12:47 +02:00
parent 4a345511a7
commit c40be7a7d5
2 changed files with 42 additions and 1 deletions

View File

@ -190,7 +190,7 @@ monitor_iwmon_SOURCES = monitor/main.c linux/nl80211.h \
src/eapol.h src/eapol.c \ src/eapol.h src/eapol.c \
src/handshake.h src/handshake.c \ src/handshake.h src/handshake.c \
src/eap.h src/eap.c src/eap-private.h \ src/eap.h src/eap.c src/eap-private.h \
src/eap-tls.c src/eap-ttls.c src/eap-dummy.c
monitor_iwmon_LDADD = ell/libell-internal.la monitor_iwmon_LDADD = ell/libell-internal.la
endif endif

41
src/eap-dummy.c Normal file
View File

@ -0,0 +1,41 @@
/*
*
* Wireless daemon for Linux
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <ell/ell.h>
#include "eap.h"
#include "eap-private.h"
static int eap_dummy_init(void)
{
return 0;
}
static void eap_dummy_exit(void)
{
}
EAP_METHOD_BUILTIN(eap_dummy, eap_dummy_init, eap_dummy_exit)