[PATCH] sta_info: remove duplicated function declaration

Antonio Quartulli ordex
Tue May 8 12:09:32 PDT 2012


In sta_info.h, ap_free_sta() is declared twice

Signed-off-by: Antonio Quartulli <ordex at autistici.org>
---
 src/ap/sta_info.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/ap/sta_info.h b/src/ap/sta_info.h
index 2f3af1b..cef428d 100644
--- a/src/ap/sta_info.h
+++ b/src/ap/sta_info.h
@@ -144,7 +144,6 @@ int ap_for_each_sta(struct hostapd_data *hapd,
 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
-void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
 void hostapd_free_stas(struct hostapd_data *hapd);
 void ap_handle_timer(void *eloop_ctx, void *timeout_ctx);
 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,
-- 
1.7.9.4




More information about the Hostap mailing list