]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Move HOSTAPD_MTU definition into driver_hostap.c
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 23 Nov 2009 14:21:07 +0000 (16:21 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 23 Nov 2009 14:21:07 +0000 (16:21 +0200)
This moves the MTU definition into driver_hostap.c since it was really
meant to be specific to this driver. Since this was the last remaining
definition in hostapd_defs.h, remove that header file as unnecessary.

hostapd/hostapd.h
hostapd/hostapd_defs.h [deleted file]
src/drivers/driver_hostap.c

index 511f61792ce0e84adcd87d52562c7ced28c53eab..c2aa8df47321ee0a18e5352a4b103d6243886d5b 100644 (file)
@@ -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 (file)
index 5e3ddb2..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * hostapd / Initialization and configuration
- * Host AP kernel driver
- * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi>
- *
- * 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 */
index 1d9251788e5f6ea1f14a99c9749460b86ac03ccf..ee57ee687581c9701e65288ded68f7f174745dca 100644 (file)
 #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 {