Fix compilation problem

Sebastien Decugis sdecugis
Wed Feb 18 01:32:27 PST 2009


Hello,

The following patch fixes a compilation issue when compiling hostapd to
serve as pure RADIUS authentication server. I can provide my .config if
you want to reproduce the error.

Best regards,
Sebastien.

diff --git a/hostapd/hw_features.h b/hostapd/hw_features.h
index 6dd9f9b..0871eba 100644
--- a/hostapd/hw_features.h
+++ b/hostapd/hw_features.h
@@ -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;



-- 
Sebastien Decugis
Research fellow
Network Architecture Group
NICT (nict.go.jp)




More information about the Hostap mailing list