Move HOSTAPD_MTU definition into driver_hostap.c
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.
This commit is contained in:
parent
0715247aa8
commit
fd7a5dd15f
3 changed files with 5 additions and 25 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue