Fix build without CONFIG_P2P=y

This commit is contained in:
Jouni Malinen 2010-09-09 07:20:28 -07:00 committed by Jouni Malinen
parent e9a7ae41fa
commit 812bf56ab1
3 changed files with 8 additions and 2 deletions

View file

@ -27,8 +27,9 @@ void hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd);
#else /* CONFIG_P2P */
int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
char *buf, size_t buflen)
static inline int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd,
struct sta_info *sta,
char *buf, size_t buflen)
{
return 0;
}