Fix hostapd build without NEED_MLME

The following patch fixes a compilation issue when compiling hostapd to
serve as pure RADIUS authentication server.
This commit is contained in:
Sebastien Decugis 2009-02-18 19:43:07 +02:00 committed by Jouni Malinen
parent 7c2849d2a0
commit ab61c4fc36

View file

@ -76,6 +76,11 @@ static inline int hostapd_select_hw_mode(struct hostapd_iface *iface)
return -1;
}
static inline const char * hostapd_hw_mode_txt(int mode)
{
return NULL;
}
static inline int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan)
{
return -1;