Fixed couple of build failures with minimal configuration
This commit is contained in:
parent
e0f6d3d9b5
commit
bc521fac13
3 changed files with 6 additions and 0 deletions
|
@ -63,6 +63,7 @@
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "wps_hostapd.h"
|
#include "wps_hostapd.h"
|
||||||
|
#include "ieee802_11_defs.h"
|
||||||
|
|
||||||
|
|
||||||
struct madwifi_driver_data {
|
struct madwifi_driver_data {
|
||||||
|
@ -202,6 +203,7 @@ set80211param(struct madwifi_driver_data *drv, int op, int arg)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CONFIG_NO_STDOUT_DEBUG
|
||||||
static const char *
|
static const char *
|
||||||
ether_sprintf(const u8 *addr)
|
ether_sprintf(const u8 *addr)
|
||||||
{
|
{
|
||||||
|
@ -213,6 +215,7 @@ ether_sprintf(const u8 *addr)
|
||||||
snprintf(buf, sizeof(buf), MACSTR, 0,0,0,0,0,0);
|
snprintf(buf, sizeof(buf), MACSTR, 0,0,0,0,0,0);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
#endif /* CONFIG_NO_STDOUT_DEBUG */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configure WPA parameters.
|
* Configure WPA parameters.
|
||||||
|
|
|
@ -252,6 +252,7 @@ void hostapd_eapol_receive(struct hostapd_data *hapd, const u8 *sa,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef NEED_MLME
|
||||||
void hostapd_mgmt_rx(struct hostapd_data *hapd, u8 *buf, size_t len,
|
void hostapd_mgmt_rx(struct hostapd_data *hapd, u8 *buf, size_t len,
|
||||||
u16 stype, struct hostapd_frame_info *fi)
|
u16 stype, struct hostapd_frame_info *fi)
|
||||||
{
|
{
|
||||||
|
@ -264,6 +265,7 @@ void hostapd_mgmt_tx_cb(struct hostapd_data *hapd, u8 *buf, size_t len,
|
||||||
{
|
{
|
||||||
ieee802_11_mgmt_cb(hapd, buf, len, stype, ok);
|
ieee802_11_mgmt_cb(hapd, buf, len, stype, ok);
|
||||||
}
|
}
|
||||||
|
#endif /* NEED_MLME */
|
||||||
|
|
||||||
|
|
||||||
void hostapd_michael_mic_failure(struct hostapd_data *hapd, const u8 *addr)
|
void hostapd_michael_mic_failure(struct hostapd_data *hapd, const u8 *addr)
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include "sta_info.h"
|
#include "sta_info.h"
|
||||||
#include "mlme.h"
|
#include "mlme.h"
|
||||||
#include "wpa.h"
|
#include "wpa.h"
|
||||||
|
#include "ieee802_11_defs.h"
|
||||||
#include "tkip_countermeasures.h"
|
#include "tkip_countermeasures.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue