Fix hostapd build without NEED_MLME
authorSebastien Decugis <sdecugis@nict.go.jp>
Wed, 18 Feb 2009 17:43:07 +0000 (19:43 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 18 Feb 2009 17:43:07 +0000 (19:43 +0200)
The following patch fixes a compilation issue when compiling hostapd to
serve as pure RADIUS authentication server.

hostapd/hw_features.h

index 6dd9f9b..0871eba 100644 (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;