diff --git a/hostapd/hostapd.h b/hostapd/hostapd.h index 511f61792..c2aa8df47 100644 --- a/hostapd/hostapd.h +++ b/hostapd/hostapd.h @@ -18,7 +18,6 @@ #define HOSTAPD_H #include "common.h" -#include "hostapd_defs.h" #define MAX_VLAN_ID 4094 diff --git a/hostapd/hostapd_defs.h b/hostapd/hostapd_defs.h deleted file mode 100644 index 5e3ddb2af..000000000 --- a/hostapd/hostapd_defs.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * hostapd / Initialization and configuration - * Host AP kernel driver - * Copyright (c) 2002-2009, Jouni Malinen - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * Alternatively, this software may be distributed under the terms of BSD - * license. - * - * See README and COPYING for more details. - */ - -#ifndef HOSTAPD_DEFS_H -#define HOSTAPD_DEFS_H - -/* MTU to be set for the wlan#ap device; this is mainly needed for IEEE 802.1X - * frames that might be longer than normal default MTU and they are not - * fragmented */ -#define HOSTAPD_MTU 2290 - -#endif /* HOSTAPD_DEFS_H */ diff --git a/src/drivers/driver_hostap.c b/src/drivers/driver_hostap.c index 1d9251788..ee57ee687 100644 --- a/src/drivers/driver_hostap.c +++ b/src/drivers/driver_hostap.c @@ -35,6 +35,11 @@ #include "../../hostapd/sta_flags.h" +/* MTU to be set for the wlan#ap device; this is mainly needed for IEEE 802.1X + * frames that might be longer than normal default MTU and they are not + * fragmented */ +#define HOSTAPD_MTU 2290 + static const u8 rfc1042_header[6] = { 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 }; struct hostap_driver_data {